/third_party/openssl/providers/implementations/ciphers/ |
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, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb() 86 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb() 109 &tctx->ks1, &tctx->ks2, &tctx->ks3, in ossl_cipher_hw_tdes_cfb1() [all …]
|
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()
|
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()
|
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()
|
D | cipher_aes_xts.h | 30 } ks1, ks2; /* AES key schedules to use */ member
|
D | cipher_aes_xts.c | 141 if (in->xts.key1 != &in->ks1) in aes_xts_dupctx()
|
/third_party/openssl/crypto/evp/ |
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, &data(ctx)->ks2, in des_ede3_cfb8_cipher() [all …]
|
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.ks); in aes_xts_init_key() [all …]
|
/third_party/openssl/ohos_lite/include/openssl/ |
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,
|
/third_party/openssl/crypto/des/ |
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() argument 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()
|
D | cfb64ede.c | 25 long length, DES_key_schedule *ks1, in DES_ede3_cfb64_encrypt() argument 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() argument 113 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt() 154 DES_encrypt3(ti, ks1, ks2, ks3); in DES_ede3_cfb_encrypt()
|
D | ecb3_enc.c | 19 DES_key_schedule *ks1, DES_key_schedule *ks2, in DES_ecb3_encrypt() argument 32 DES_encrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt() 34 DES_decrypt3(ll, ks1, ks2, ks3); in DES_ecb3_encrypt()
|
/third_party/openssl/include/openssl/ |
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/doc/man3/ |
D | DES_random_key.pod | 36 DES_key_schedule *ks1, DES_key_schedule *ks2, int enc); 38 DES_key_schedule *ks1, DES_key_schedule *ks2, 65 long length, DES_key_schedule *ks1, 68 long length, DES_key_schedule *ks1, 72 long length, DES_key_schedule *ks1, 76 long length, DES_key_schedule *ks1, 80 long length, DES_key_schedule *ks1, 84 long length, DES_key_schedule *ks1, 154 the input with I<ks1>, decrypting with the key schedule I<ks2>, and 156 of brute force breaking of DES and has the advantage of if I<ks1>, [all …]
|
/third_party/openssl/crypto/des/asm/ |
D | des_enc.m4 | 618 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1282 ! void DES_encrypt3(data, ks1, ks2, ks3) 1327 ! void DES_decrypt3(data, ks1, ks2, ks3) 1358 add in1, 120, in4 ! preload ks1 1440 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1564 ! void DES_ede3_cbc_encrypt(input, output, length, ks1, ks2, ks3, ivec, enc) 1620 call .des_enc ! ks1 in3 1642 ! parameter 5 1: load ks1/ks2 to in3/in4, add 120 to in4 1726 call .des_dec ! ks1 in4
|