Home
last modified time | relevance | path

Searched refs:kekalg (Results 1 – 5 of 5) sorted by relevance

/openssl/crypto/cms/
H A Dcms_ec.c162 X509_ALGOR *alg, *kekalg = NULL; in ecdh_cms_set_shared_info() local
184 kekalg = d2i_X509_ALGOR(NULL, &p, plen); in ecdh_cms_set_shared_info()
185 if (kekalg == NULL) in ecdh_cms_set_shared_info()
190 OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0); in ecdh_cms_set_shared_info()
196 if (EVP_CIPHER_asn1_to_param(kekctx, kekalg->parameter) <= 0) in ecdh_cms_set_shared_info()
203 plen = CMS_SharedInfo_encode(&der, kekalg, ukm, keylen); in ecdh_cms_set_shared_info()
215 X509_ALGOR_free(kekalg); in ecdh_cms_set_shared_info()
H A Dcms_dh.c84 X509_ALGOR *alg, *kekalg = NULL; in dh_cms_set_shared_info() local
115 kekalg = d2i_X509_ALGOR(NULL, &p, plen); in dh_cms_set_shared_info()
116 if (kekalg == NULL) in dh_cms_set_shared_info()
122 if (OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0) <= 0) in dh_cms_set_shared_info()
131 if (EVP_CIPHER_asn1_to_param(kekctx, kekalg->parameter) <= 0) in dh_cms_set_shared_info()
156 X509_ALGOR_free(kekalg); in dh_cms_set_shared_info()
H A Dcms_pwri.c313 X509_ALGOR *algtmp, *kekalg = NULL; in ossl_cms_RecipientInfo_pwri_crypt() local
336 kekalg = ASN1_TYPE_unpack_sequence(ASN1_ITEM_rptr(X509_ALGOR), in ossl_cms_RecipientInfo_pwri_crypt()
339 if (kekalg == NULL) { in ossl_cms_RecipientInfo_pwri_crypt()
344 OBJ_obj2txt(name, sizeof(name), kekalg->algorithm, 0); in ossl_cms_RecipientInfo_pwri_crypt()
362 if (EVP_CIPHER_asn1_to_param(kekctx, kekalg->parameter) <= 0) { in ossl_cms_RecipientInfo_pwri_crypt()
419 X509_ALGOR_free(kekalg); in ossl_cms_RecipientInfo_pwri_crypt()
H A Dcms_asn1.c403 int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,
426 ecsi.keyInfo = kekalg;
/openssl/include/openssl/
H A Dcms.h.in398 int CMS_SharedInfo_encode(unsigned char **pder, X509_ALGOR *kekalg,

Completed in 10 milliseconds