Lines Matching refs:alg
21 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() argument
34 X509_ALGOR_get0(&aoid, &atype, &aval, alg); in dh_cms_set_peerkey()
84 X509_ALGOR *alg, *kekalg = NULL; in dh_cms_set_shared_info() local
94 if (!CMS_RecipientInfo_kari_get0_alg(ri, &alg, &ukm)) in dh_cms_set_shared_info()
101 if (OBJ_obj2nid(alg->algorithm) != NID_id_smime_alg_ESDH) { in dh_cms_set_shared_info()
110 if (alg->parameter->type != V_ASN1_SEQUENCE) in dh_cms_set_shared_info()
113 p = alg->parameter->value.sequence->data; in dh_cms_set_shared_info()
114 plen = alg->parameter->value.sequence->length; in dh_cms_set_shared_info()
170 X509_ALGOR *alg; in dh_cms_decrypt() local
173 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in dh_cms_decrypt()
176 if (alg == NULL || pubkey == NULL) in dh_cms_decrypt()
178 if (!dh_cms_set_peerkey(pctx, alg, pubkey)) { in dh_cms_decrypt()