Searched refs:kekcipher (Results 1 – 4 of 4) sorted by relevance
| /freebsd-13-stable/crypto/openssl/crypto/cms/ |
| HD | cms_kari.c | 336 const EVP_CIPHER *kekcipher; in cms_wrap_init() local 339 kekcipher = EVP_CIPHER_CTX_cipher(ctx); in cms_wrap_init() 341 if (kekcipher) { in cms_wrap_init() 352 kekcipher = EVP_des_ede3_wrap(); in cms_wrap_init() 356 kekcipher = EVP_aes_128_wrap(); in cms_wrap_init() 358 kekcipher = EVP_aes_192_wrap(); in cms_wrap_init() 360 kekcipher = EVP_aes_256_wrap(); in cms_wrap_init() 361 return EVP_EncryptInit_ex(ctx, kekcipher, NULL, NULL, NULL); in cms_wrap_init()
|
| HD | cms_pwri.c | 284 const EVP_CIPHER *kekcipher; in cms_RecipientInfo_pwri_crypt() local 313 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in cms_RecipientInfo_pwri_crypt() 315 if (!kekcipher) { in cms_RecipientInfo_pwri_crypt() 326 if (!EVP_CipherInit_ex(kekctx, kekcipher, NULL, NULL, NULL, en_de)) in cms_RecipientInfo_pwri_crypt()
|
| /freebsd-13-stable/crypto/openssl/crypto/dh/ |
| HD | dh_ameth.c | 682 const EVP_CIPHER *kekcipher; in dh_cms_set_shared_info() local 714 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in dh_cms_set_shared_info() 715 if (!kekcipher || EVP_CIPHER_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in dh_cms_set_shared_info() 717 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info() 727 OBJ_nid2obj(EVP_CIPHER_type(kekcipher))) in dh_cms_set_shared_info()
|
| /freebsd-13-stable/crypto/openssl/crypto/ec/ |
| HD | ec_ameth.c | 750 const EVP_CIPHER *kekcipher; in ecdh_cms_set_shared_info() local 772 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in ecdh_cms_set_shared_info() 773 if (!kekcipher || EVP_CIPHER_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in ecdh_cms_set_shared_info() 775 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
|