Lines Matching refs:evp_cipher
241 const EVP_CIPHER *evp_cipher = NULL; in PKCS7_dataInit() local
286 evp_cipher = p7->d.signed_and_enveloped->enc_data->cipher; in PKCS7_dataInit()
287 if (evp_cipher == NULL) { in PKCS7_dataInit()
295 evp_cipher = p7->d.enveloped->enc_data->cipher; in PKCS7_dataInit()
296 if (evp_cipher == NULL) { in PKCS7_dataInit()
319 if (evp_cipher != NULL) { in PKCS7_dataInit()
330 keylen = EVP_CIPHER_get_key_length(evp_cipher); in PKCS7_dataInit()
331 ivlen = EVP_CIPHER_get_iv_length(evp_cipher); in PKCS7_dataInit()
332 xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_get_type(evp_cipher)); in PKCS7_dataInit()
339 EVP_CIPHER_get0_name(evp_cipher), in PKCS7_dataInit()
345 cipher = evp_cipher; in PKCS7_dataInit()
444 EVP_CIPHER *evp_cipher = NULL; in PKCS7_dataDecode() local
500 evp_cipher = EVP_CIPHER_fetch(libctx, name, propq); in PKCS7_dataDecode()
501 if (evp_cipher != NULL) in PKCS7_dataDecode()
502 cipher = evp_cipher; in PKCS7_dataDecode()
521 evp_cipher = EVP_CIPHER_fetch(libctx, name, propq); in PKCS7_dataDecode()
522 if (evp_cipher != NULL) in PKCS7_dataDecode()
523 cipher = evp_cipher; in PKCS7_dataDecode()
704 EVP_CIPHER_free(evp_cipher); in PKCS7_dataDecode()
708 EVP_CIPHER_free(evp_cipher); in PKCS7_dataDecode()