Lines Matching defs:evp_cipher
258 const EVP_CIPHER *evp_cipher = NULL;
299 evp_cipher = p7->d.signed_and_enveloped->enc_data->cipher;
300 if (evp_cipher == NULL) {
308 evp_cipher = p7->d.enveloped->enc_data->cipher;
309 if (evp_cipher == NULL) {
332 if (evp_cipher != NULL) {
343 keylen = EVP_CIPHER_key_length(evp_cipher);
344 ivlen = EVP_CIPHER_iv_length(evp_cipher);
345 xalg->algorithm = OBJ_nid2obj(EVP_CIPHER_type(evp_cipher));
348 if (EVP_CipherInit_ex(ctx, evp_cipher, NULL, NULL,
432 const EVP_CIPHER *evp_cipher = NULL;
464 evp_cipher = EVP_get_cipherbyobj(enc_alg->algorithm);
465 if (evp_cipher == NULL) {
474 evp_cipher = EVP_get_cipherbyobj(enc_alg->algorithm);
475 if (evp_cipher == NULL) {
513 if (evp_cipher != NULL) {
548 EVP_CIPHER_key_length(evp_cipher)) < 0)
561 if (EVP_CipherInit_ex(evp_ctx, evp_cipher, NULL, NULL,