/third_party/node/deps/openssl/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_default_hw.c | 18 #define ks1 tks.ks[0] macro 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 44 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey() 55 DES_ede3_ofb64_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb() 62 DES_ede3_ofb64_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb() 78 &tctx->ks1, in ossl_cipher_hw_tdes_cfb() [all...] |
H A D | cipher_tdes_hw.c | 19 #define ks1 tks.ks[0] macro 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 69 DES_ede3_cbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_cbc() 76 DES_ede3_cbc_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_cbc() 92 &tctx->ks1, &tctx->ks2, &tctx->ks3, ctx->enc); in ossl_cipher_hw_tdes_ecb()
|
H A D | cipher_desx_hw.c | 23 #define ks1 tks.ks[0] macro 33 DES_set_key_unchecked(deskey, &tctx->ks1); in cipher_hw_desx_cbc_initkey() 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, in cipher_hw_desx_cbc() 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, in cipher_hw_desx_cbc()
|
H A D | cipher_aes_xts_hw.c | 25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \ 28 fn_set_dec_key(key, bits, &xctx->ks1.ks); \ 33 xctx->xts.key1 = &xctx->ks1; \ 96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
|
H A D | cipher_aes_xts.h | 30 } ks1, ks2; /* AES key schedules to use */ member
|
H A D | cipher_aes_xts.c | 141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
|
/third_party/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_default_hw.c | 18 #define ks1 tks.ks[0] macro 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 35 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 44 memcpy(&tctx->ks3, &tctx->ks1, sizeof(tctx->ks1)); in ossl_cipher_hw_tdes_ede2_initkey() 55 DES_ede3_ofb64_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb() 62 DES_ede3_ofb64_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_ofb() 78 &tctx->ks1, in ossl_cipher_hw_tdes_cfb() [all...] |
H A D | cipher_tdes_hw.c | 19 #define ks1 tks.ks[0] macro 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 69 DES_ede3_cbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_cbc() 76 DES_ede3_cbc_encrypt(in, out, (long)inl, &tctx->ks1, &tctx->ks2, in ossl_cipher_hw_tdes_cbc() 92 &tctx->ks1, &tctx->ks2, &tctx->ks3, ctx->enc); in ossl_cipher_hw_tdes_ecb()
|
H A D | cipher_desx_hw.c | 23 #define ks1 tks.ks[0] macro 33 DES_set_key_unchecked(deskey, &tctx->ks1); in cipher_hw_desx_cbc_initkey() 56 DES_xcbc_encrypt(in, out, (long)MAXCHUNK, &tctx->ks1, in cipher_hw_desx_cbc() 64 DES_xcbc_encrypt(in, out, (long)inl, &tctx->ks1, in cipher_hw_desx_cbc()
|
H A D | cipher_aes_xts_hw.c | 25 fn_set_enc_key(key, bits, &xctx->ks1.ks); \ 28 fn_set_dec_key(key, bits, &xctx->ks1.ks); \ 33 xctx->xts.key1 = &xctx->ks1; \ 96 dctx->xts.key1 = &dctx->ks1.ks; in cipher_hw_aes_xts_copyctx()
|
H A D | cipher_aes_xts.h | 30 } ks1, ks2; /* AES key schedules to use */ member
|
H A D | cipher_aes_xts.c | 141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
|
/third_party/node/deps/openssl/openssl/crypto/evp/ |
H A D | e_des3.c | 36 # define ks1 ks.ks[0] macro 75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher() 86 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher() 98 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher() 120 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher() 129 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher() 141 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher() 152 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher() 175 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede3_cfb1_cipher() 190 &data(ctx)->ks1, in des_ede3_cfb8_cipher() [all...] |
H A D | e_aes.c | 66 } ks1, ks2; /* AES key schedules to use */ member 287 aesni_set_encrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key() 291 aesni_set_decrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key() 299 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key() 624 aes_t4_set_encrypt_key(key, bits, &xctx->ks1.ks); in aes_t4_xts_init_key() 637 aes_t4_set_decrypt_key(key, bits, &xctx->ks1.ks); in aes_t4_xts_init_key() 654 xctx->xts.key1 = &xctx->ks1; in aes_t4_xts_init_key() 3102 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl() 3104 xctx_out->xts.key1 = &xctx_out->ks1; in aes_xts_ctrl() 3165 HWAES_set_encrypt_key(key, bits, &xctx->ks1 in aes_xts_init_key() [all...] |
/third_party/openssl/crypto/evp/ |
H A D | e_des3.c | 36 # define ks1 ks.ks[0] macro 75 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ecb_cipher() 86 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher() 98 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_ofb_cipher() 120 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher() 129 &dat->ks1, &dat->ks2, &dat->ks3, in des_ede_cbc_cipher() 141 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher() 152 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede_cfb64_cipher() 175 &data(ctx)->ks1, &data(ctx)->ks2, in des_ede3_cfb1_cipher() 190 &data(ctx)->ks1, in des_ede3_cfb8_cipher() [all...] |
H A D | e_aes.c | 66 } ks1, ks2; /* AES key schedules to use */ member 287 aesni_set_encrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key() 291 aesni_set_decrypt_key(key, bits, &xctx->ks1.ks); in aesni_xts_init_key() 299 xctx->xts.key1 = &xctx->ks1; in aesni_xts_init_key() 624 aes_t4_set_encrypt_key(key, bits, &xctx->ks1.ks); in aes_t4_xts_init_key() 637 aes_t4_set_decrypt_key(key, bits, &xctx->ks1.ks); in aes_t4_xts_init_key() 654 xctx->xts.key1 = &xctx->ks1; in aes_t4_xts_init_key() 3108 if (xctx->xts.key1 != &xctx->ks1) in aes_xts_ctrl() 3110 xctx_out->xts.key1 = &xctx_out->ks1; in aes_xts_ctrl() 3171 HWAES_set_encrypt_key(key, bits, &xctx->ks1 in aes_xts_init_key() [all...] |
/third_party/node/deps/openssl/openssl/crypto/des/ |
H A D | des_enc.c | 155 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_encrypt3() argument 165 DES_encrypt2((DES_LONG *)data, ks1, DES_ENCRYPT); in DES_encrypt3() 175 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_decrypt3() argument 187 DES_encrypt2((DES_LONG *)data, ks1, DES_DECRYPT); in DES_decrypt3() 201 long length, DES_key_schedule *ks1, in DES_ede3_cbc_encrypt() 228 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 242 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 266 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 286 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 200 DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cbc_encrypt() argument
|
H A D | ecb3_enc.c | 19 DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ecb3_encrypt() 32 DES_encrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt() 34 DES_decrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt() 18 DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, int enc) DES_ecb3_encrypt() argument
|
H A D | cfb64ede.c | 25 long length, DES_key_schedule *ks1, in DES_ede3_cfb64_encrypt() 44 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 66 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 92 int numbits, long length, DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() 113 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt() 154 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt() 24 DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int *num, int enc) DES_ede3_cfb64_encrypt() argument 91 DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cfb_encrypt() argument
|
/third_party/openssl/crypto/des/ |
H A D | des_enc.c | 155 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_encrypt3() argument 165 DES_encrypt2((DES_LONG *)data, ks1, DES_ENCRYPT); in DES_encrypt3() 175 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, in DES_decrypt3() argument 187 DES_encrypt2((DES_LONG *)data, ks1, DES_DECRYPT); in DES_decrypt3() 201 long length, DES_key_schedule *ks1, in DES_ede3_cbc_encrypt() 228 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 242 DES_encrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 266 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 286 DES_decrypt3((DES_LONG *)tin, ks1, ks2, ks3); in DES_ede3_cbc_encrypt() 200 DES_ede3_cbc_encrypt(const unsigned char *input, unsigned char *output, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cbc_encrypt() argument
|
H A D | ecb3_enc.c | 19 DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ecb3_encrypt() 32 DES_encrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt() 34 DES_decrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt() 18 DES_ecb3_encrypt(const_DES_cblock *input, DES_cblock *output, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, int enc) DES_ecb3_encrypt() argument
|
H A D | cfb64ede.c | 25 long length, DES_key_schedule *ks1, in DES_ede3_cfb64_encrypt() 44 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 66 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb64_encrypt() 92 int numbits, long length, DES_key_schedule *ks1, in DES_ede3_cfb_encrypt() 113 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt() 154 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt() 24 DES_ede3_cfb64_encrypt(const unsigned char *in, unsigned char *out, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int *num, int enc) DES_ede3_cfb64_encrypt() argument 91 DES_ede3_cfb_encrypt(const unsigned char *in, unsigned char *out, int numbits, long length, DES_key_schedule *ks1, DES_key_schedule *ks2, DES_key_schedule *ks3, DES_cblock *ivec, int enc) DES_ede3_cfb_encrypt() argument
|
/third_party/node/deps/openssl/openssl/include/openssl/ |
H A D | des.h | 79 DES_key_schedule *ks1, DES_key_schedule *ks2, 136 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 139 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 143 long length, DES_key_schedule *ks1, 148 long length, DES_key_schedule *ks1, 153 int numbits, long length, DES_key_schedule *ks1, 158 long length, DES_key_schedule *ks1,
|
/third_party/openssl/include/openssl/ |
H A D | des.h | 79 DES_key_schedule *ks1, DES_key_schedule *ks2, 136 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 139 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, DES_key_schedule *ks2, 143 long length, DES_key_schedule *ks1, 148 long length, DES_key_schedule *ks1, 153 int numbits, long length, DES_key_schedule *ks1, 158 long length, DES_key_schedule *ks1,
|
/third_party/openssl/ohos_lite/include/openssl/ |
H A D | des.h | 71 DES_key_schedule *ks1, DES_key_schedule *ks2, 115 void DES_encrypt3(DES_LONG *data, DES_key_schedule *ks1, 117 void DES_decrypt3(DES_LONG *data, DES_key_schedule *ks1, 121 DES_key_schedule *ks1, DES_key_schedule *ks2, 124 long length, DES_key_schedule *ks1, 128 int numbits, long length, DES_key_schedule *ks1, 132 long length, DES_key_schedule *ks1,
|