Searched refs:wrap_alg (Results 1 – 2 of 2) sorted by relevance
197 X509_ALGOR *talg, *wrap_alg = NULL; in dh_cms_encrypt() local278 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()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()[all …]
256 X509_ALGOR *talg, *wrap_alg = NULL; in ecdh_cms_encrypt() local334 wrap_alg = X509_ALGOR_new(); in ecdh_cms_encrypt()335 if (wrap_alg == NULL) in ecdh_cms_encrypt()337 wrap_alg->algorithm = OBJ_nid2obj(wrap_nid); in ecdh_cms_encrypt()338 wrap_alg->parameter = ASN1_TYPE_new(); in ecdh_cms_encrypt()339 if (wrap_alg->parameter == NULL) in ecdh_cms_encrypt()343 if (ASN1_TYPE_get(wrap_alg->parameter) == NID_undef) { in ecdh_cms_encrypt()344 ASN1_TYPE_free(wrap_alg->parameter); in ecdh_cms_encrypt()345 wrap_alg->parameter = NULL; in ecdh_cms_encrypt()364 penclen = i2d_X509_ALGOR(wrap_alg, &penc); in ecdh_cms_encrypt()[all …]
Completed in 6 milliseconds