Lines Matching refs:alg
74 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() argument
84 X509_ALGOR_get0(&aoid, &atype, &aval, alg); in ecdh_cms_set_peerkey()
162 X509_ALGOR *alg, *kekalg = NULL; in ecdh_cms_set_shared_info() local
171 if (!CMS_RecipientInfo_kari_get0_alg(ri, &alg, &ukm)) in ecdh_cms_set_shared_info()
174 if (!ecdh_cms_set_kdf_param(pctx, OBJ_obj2nid(alg->algorithm))) { in ecdh_cms_set_shared_info()
179 if (alg->parameter->type != V_ASN1_SEQUENCE) in ecdh_cms_set_shared_info()
182 p = alg->parameter->value.sequence->data; in ecdh_cms_set_shared_info()
183 plen = alg->parameter->value.sequence->length; in ecdh_cms_set_shared_info()
229 X509_ALGOR *alg; in ecdh_cms_decrypt() local
232 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey, in ecdh_cms_decrypt()
235 if (alg == NULL || pubkey == NULL) in ecdh_cms_decrypt()
237 if (!ecdh_cms_set_peerkey(pctx, alg, pubkey)) { in ecdh_cms_decrypt()