Lines Matching refs:pubkey
21 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in dh_cms_set_peerkey() argument
46 plen = ASN1_STRING_length(pubkey); in dh_cms_set_peerkey()
47 p = ASN1_STRING_get0_data(pubkey); in dh_cms_set_peerkey()
171 ASN1_BIT_STRING *pubkey; 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()
199 ASN1_BIT_STRING *pubkey; in dh_cms_encrypt() local
214 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in dh_cms_encrypt()
237 ASN1_STRING_set0(pubkey, penc, penclen); in dh_cms_encrypt()
238 ossl_asn1_string_set_bits_left(pubkey, 0); in dh_cms_encrypt()