Lines Matching refs:wrap_alg
197 X509_ALGOR *talg, *wrap_alg = NULL; in dh_cms_encrypt() local
278 wrap_alg = X509_ALGOR_new(); in dh_cms_encrypt()
279 if (wrap_alg == NULL) in dh_cms_encrypt()
281 wrap_alg->algorithm = OBJ_nid2obj(wrap_nid); in dh_cms_encrypt()
282 wrap_alg->parameter = ASN1_TYPE_new(); in dh_cms_encrypt()
283 if (wrap_alg->parameter == NULL) in dh_cms_encrypt()
285 if (EVP_CIPHER_param_to_asn1(ctx, wrap_alg->parameter) <= 0) in dh_cms_encrypt()
287 if (ASN1_TYPE_get(wrap_alg->parameter) == NID_undef) { in dh_cms_encrypt()
288 ASN1_TYPE_free(wrap_alg->parameter); in dh_cms_encrypt()
289 wrap_alg->parameter = NULL; in dh_cms_encrypt()
311 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in dh_cms_encrypt()
326 X509_ALGOR_free(wrap_alg); in dh_cms_encrypt()