Searched refs:kekcipher (Results 1 – 4 of 4) sorted by relevance
| /NextBSD/crypto/openssl/crypto/cms/ |
| HD | cms_kari.c | 390 const EVP_CIPHER *kekcipher; in cms_wrap_init() local 393 kekcipher = EVP_CIPHER_CTX_cipher(ctx); in cms_wrap_init() 395 if (kekcipher) { in cms_wrap_init() 405 kekcipher = EVP_des_ede3_wrap(); in cms_wrap_init() 407 kekcipher = EVP_aes_128_wrap(); in cms_wrap_init() 409 kekcipher = EVP_aes_192_wrap(); in cms_wrap_init() 411 kekcipher = EVP_aes_256_wrap(); in cms_wrap_init() 412 return EVP_EncryptInit_ex(ctx, kekcipher, NULL, NULL, NULL); in cms_wrap_init()
|
| HD | cms_pwri.c | 328 const EVP_CIPHER *kekcipher; in cms_RecipientInfo_pwri_crypt() local 360 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in cms_RecipientInfo_pwri_crypt() 362 if (!kekcipher) { in cms_RecipientInfo_pwri_crypt() 368 if (!EVP_CipherInit_ex(&kekctx, kekcipher, NULL, NULL, NULL, en_de)) in cms_RecipientInfo_pwri_crypt()
|
| /NextBSD/crypto/openssl/crypto/dh/ |
| HD | dh_ameth.c | 724 const EVP_CIPHER *kekcipher; in dh_cms_set_shared_info() local 756 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in dh_cms_set_shared_info() 757 if (!kekcipher || EVP_CIPHER_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in dh_cms_set_shared_info() 759 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in dh_cms_set_shared_info() 769 OBJ_nid2obj(EVP_CIPHER_type(kekcipher))) in dh_cms_set_shared_info()
|
| /NextBSD/crypto/openssl/crypto/ec/ |
| HD | ec_ameth.c | 742 const EVP_CIPHER *kekcipher; in ecdh_cms_set_shared_info() local 764 kekcipher = EVP_get_cipherbyobj(kekalg->algorithm); in ecdh_cms_set_shared_info() 765 if (!kekcipher || EVP_CIPHER_mode(kekcipher) != EVP_CIPH_WRAP_MODE) in ecdh_cms_set_shared_info() 767 if (!EVP_EncryptInit_ex(kekctx, kekcipher, NULL, NULL, NULL)) in ecdh_cms_set_shared_info()
|