Lines Matching refs:evp_cipher
204 const EVP_CIPHER *evp_cipher = NULL; in PKCS7_dataInit() local
249 evp_cipher = p7->d.signed_and_enveloped->enc_data->cipher; in PKCS7_dataInit()
250 if (evp_cipher == NULL) { in PKCS7_dataInit()
258 evp_cipher = p7->d.enveloped->enc_data->cipher; in PKCS7_dataInit()
259 if (evp_cipher == NULL) { in PKCS7_dataInit()
282 if (evp_cipher != NULL) { in PKCS7_dataInit()
293 keylen = EVP_CIPHER_get_key_length(evp_cipher); in PKCS7_dataInit()
294 ivlen = EVP_CIPHER_get_iv_length(evp_cipher); in PKCS7_dataInit()
295 xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_get_type(evp_cipher)); in PKCS7_dataInit()
302 EVP_CIPHER_get0_name(evp_cipher), in PKCS7_dataInit()
308 cipher = evp_cipher; in PKCS7_dataInit()
393 EVP_CIPHER *evp_cipher = NULL; in PKCS7_dataDecode() local
449 evp_cipher = EVP_CIPHER_fetch(libctx, name, propq); in PKCS7_dataDecode()
450 if (evp_cipher != NULL) in PKCS7_dataDecode()
451 cipher = evp_cipher; in PKCS7_dataDecode()
470 evp_cipher = EVP_CIPHER_fetch(libctx, name, propq); in PKCS7_dataDecode()
471 if (evp_cipher != NULL) in PKCS7_dataDecode()
472 cipher = evp_cipher; in PKCS7_dataDecode()
653 EVP_CIPHER_free(evp_cipher); in PKCS7_dataDecode()
657 EVP_CIPHER_free(evp_cipher); in PKCS7_dataDecode()