Searched refs:deskey (Results 1 – 10 of 10) sorted by relevance
/openssl/providers/implementations/ciphers/ |
H A D | cipher_tdes_hw.c | 27 DES_cblock *deskey = (DES_cblock *)key; in ossl_cipher_hw_tdes_ede3_initkey() local 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 34 des_t4_key_expand(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede3_initkey() 35 des_t4_key_expand(&deskey[2], &tctx->ks3); in ossl_cipher_hw_tdes_ede3_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede3_initkey() 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede3_initkey() 44 DES_set_key_unchecked(&deskey[2], &tctx->ks3); in ossl_cipher_hw_tdes_ede3_initkey()
|
H A D | cipher_tdes_default_hw.c | 27 DES_cblock *deskey = (DES_cblock *)key; in ossl_cipher_hw_tdes_ede2_initkey() local 33 des_t4_key_expand(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 34 des_t4_key_expand(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede2_initkey() 42 DES_set_key_unchecked(&deskey[0], &tctx->ks1); in ossl_cipher_hw_tdes_ede2_initkey() 43 DES_set_key_unchecked(&deskey[1], &tctx->ks2); in ossl_cipher_hw_tdes_ede2_initkey()
|
H A D | cipher_tdes_common.c | 141 DES_cblock *deskey = ptr; variable 146 DES_set_odd_parity(deskey); 148 DES_set_odd_parity(deskey + 1); 150 DES_set_odd_parity(deskey + 2);
|
H A D | cipher_desx_hw.c | 31 DES_cblock *deskey = (DES_cblock *)key; in cipher_hw_desx_cbc_initkey() local 33 DES_set_key_unchecked(deskey, &tctx->ks1); in cipher_hw_desx_cbc_initkey()
|
H A D | cipher_des_hw.c | 23 DES_cblock *deskey = (DES_cblock *)key; in cipher_hw_des_initkey() local 30 des_t4_key_expand(&deskey[0], ks); in cipher_hw_des_initkey() 37 DES_set_key_unchecked(deskey, ks); in cipher_hw_des_initkey()
|
H A D | cipher_des.c | 121 DES_cblock *deskey = ptr; in des_generatekey() local 126 DES_set_odd_parity(deskey); in des_generatekey()
|
/openssl/crypto/evp/ |
H A D | e_des3.c | 228 DES_cblock *deskey = (DES_cblock *)key; in des_ede_init_key() local 246 DES_set_key_unchecked(&deskey[0], &dat->ks1); in des_ede_init_key() 247 DES_set_key_unchecked(&deskey[1], &dat->ks2); in des_ede_init_key() 255 DES_cblock *deskey = (DES_cblock *)key; in des_ede3_init_key() local 273 DES_set_key_unchecked(&deskey[0], &dat->ks1); in des_ede3_init_key() 274 DES_set_key_unchecked(&deskey[1], &dat->ks2); in des_ede3_init_key() 275 DES_set_key_unchecked(&deskey[2], &dat->ks3); in des_ede3_init_key() 282 DES_cblock *deskey = ptr; in des3_ctrl() local 290 DES_set_odd_parity(deskey); in des3_ctrl() 292 DES_set_odd_parity(deskey + 1); in des3_ctrl() [all …]
|
H A D | e_xcbc_d.c | 63 DES_cblock *deskey = (DES_cblock *)key; in desx_cbc_init_key() local 65 DES_set_key_unchecked(deskey, &data(ctx)->ks); in desx_cbc_init_key()
|
H A D | e_des.c | 213 DES_cblock *deskey = (DES_cblock *)key; in des_init_key() local 228 DES_set_key_unchecked(deskey, EVP_CIPHER_CTX_get_cipher_data(ctx)); in des_init_key()
|
/openssl/apps/ |
H A D | speed.c | 1919 static const unsigned char deskey[] = { in speed_main() local 2765 loopargs[i].ctx = init_evp_cipher_ctx("des-cbc", deskey, in speed_main() 2766 sizeof(deskey) / 3); in speed_main() 2787 loopargs[i].ctx = init_evp_cipher_ctx("des-ede3-cbc", deskey, in speed_main() 2788 sizeof(deskey)); in speed_main()
|
Completed in 23 milliseconds