Home | History | Annotate | Download | only in pkcs7

Lines Matching full:evp_ctx

428 	EVP_CIPHER_CTX *evp_ctx=NULL;
568 evp_ctx=NULL;
569 BIO_get_cipher_ctx(etmp,&evp_ctx);
570 if (EVP_CipherInit_ex(evp_ctx,evp_cipher,NULL,NULL,NULL,0) <= 0)
572 if (EVP_CIPHER_asn1_to_param(evp_ctx,enc_alg->parameter) < 0)
575 tkeylen = EVP_CIPHER_CTX_key_length(evp_ctx);
579 if (EVP_CIPHER_CTX_rand_key(evp_ctx, tkey) <= 0)
588 if (eklen != EVP_CIPHER_CTX_key_length(evp_ctx)) {
593 if(!EVP_CIPHER_CTX_set_key_length(evp_ctx, eklen))
605 if (EVP_CipherInit_ex(evp_ctx,NULL,NULL,ek,NULL,0) <= 0)