Home
last modified time | relevance | path

Searched refs:wrap_str (Results 1 – 2 of 2) sorted by relevance

/openssl/crypto/cms/
H A Dcms_dh.c200 ASN1_STRING *wrap_str; in dh_cms_encrypt() local
314 wrap_str = ASN1_STRING_new(); in dh_cms_encrypt()
315 if (wrap_str == NULL) in dh_cms_encrypt()
317 ASN1_STRING_set0(wrap_str, penc, penclen); in dh_cms_encrypt()
320 V_ASN1_SEQUENCE, wrap_str); in dh_cms_encrypt()
322 ASN1_STRING_free(wrap_str); in dh_cms_encrypt()
H A Dcms_ec.c259 ASN1_STRING *wrap_str; in ecdh_cms_encrypt() local
367 wrap_str = ASN1_STRING_new(); in ecdh_cms_encrypt()
368 if (wrap_str == NULL) in ecdh_cms_encrypt()
370 ASN1_STRING_set0(wrap_str, penc, penclen); in ecdh_cms_encrypt()
372 rv = X509_ALGOR_set0(talg, OBJ_nid2obj(kdf_nid), V_ASN1_SEQUENCE, wrap_str); in ecdh_cms_encrypt()
374 ASN1_STRING_free(wrap_str); in ecdh_cms_encrypt()

Completed in 5 milliseconds