Home
last modified time | relevance | path

Searched refs:kekcipher (Results 1 – 4 of 4) sorted by relevance

/NextBSD/crypto/openssl/crypto/cms/
HDcms_kari.c390 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()
HDcms_pwri.c328 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/
HDdh_ameth.c724 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/
HDec_ameth.c742 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()