Home | History | Annotate | Download | only in pem

Lines Matching defs:enc

270 		   void *x, const EVP_CIPHER *enc, unsigned char *kstr,
282 ret=PEM_ASN1_write_bio(i2d,name,b,x,enc,kstr,klen,callback,u);
289 void *x, const EVP_CIPHER *enc, unsigned char *kstr,
300 if (enc != NULL)
302 objstr=OBJ_nid2sn(EVP_CIPHER_nid(enc));
327 if (enc != NULL)
329 const unsigned iv_len = EVP_CIPHER_iv_length(enc);
349 if (!EVP_BytesToKey(enc,EVP_md5(),iv,kstr,klen,1,key,NULL))
363 if (!EVP_EncryptInit_ex(&ctx,enc,NULL,key,iv)
453 const EVP_CIPHER *enc=NULL;
486 cipher->cipher=enc=cipher_by_name(p);
490 if (enc == NULL)
495 if (!load_iv(header_pp,&(cipher->iv[0]),EVP_CIPHER_iv_length(enc)))