Home
last modified time | relevance | path

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

/third_party/openssl/crypto/cms/
Dcms_pwri.c51 X509_ALGOR *encalg = NULL; in CMS_add0_recipient_password() local
83 encalg = X509_ALGOR_new(); in CMS_add0_recipient_password()
84 if (encalg == NULL) { in CMS_add0_recipient_password()
111 encalg->parameter = ASN1_TYPE_new(); in CMS_add0_recipient_password()
112 if (!encalg->parameter) { in CMS_add0_recipient_password()
116 if (EVP_CIPHER_param_to_asn1(ctx, encalg->parameter) <= 0) { in CMS_add0_recipient_password()
122 encalg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx)); in CMS_add0_recipient_password()
149 if (!ASN1_item_pack(encalg, ASN1_ITEM_rptr(X509_ALGOR), in CMS_add0_recipient_password()
155 X509_ALGOR_free(encalg); in CMS_add0_recipient_password()
156 encalg = NULL; in CMS_add0_recipient_password()
[all …]
/third_party/node/deps/openssl/openssl/crypto/cms/
Dcms_pwri.c51 X509_ALGOR *encalg = NULL; in CMS_add0_recipient_password() local
83 encalg = X509_ALGOR_new(); in CMS_add0_recipient_password()
84 if (encalg == NULL) { in CMS_add0_recipient_password()
111 encalg->parameter = ASN1_TYPE_new(); in CMS_add0_recipient_password()
112 if (!encalg->parameter) { in CMS_add0_recipient_password()
116 if (EVP_CIPHER_param_to_asn1(ctx, encalg->parameter) <= 0) { in CMS_add0_recipient_password()
122 encalg->algorithm = OBJ_nid2obj(EVP_CIPHER_CTX_get_type(ctx)); in CMS_add0_recipient_password()
149 if (!ASN1_item_pack(encalg, ASN1_ITEM_rptr(X509_ALGOR), in CMS_add0_recipient_password()
155 X509_ALGOR_free(encalg); in CMS_add0_recipient_password()
156 encalg = NULL; in CMS_add0_recipient_password()
[all …]