Lines Matching refs:pubkey
74 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey) in ecdh_cms_set_peerkey() argument
109 plen = ASN1_STRING_length(pubkey); in ecdh_cms_set_peerkey()
110 p = ASN1_STRING_get0_data(pubkey); in ecdh_cms_set_peerkey()
230 ASN1_BIT_STRING *pubkey; 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()
258 ASN1_BIT_STRING *pubkey; in ecdh_cms_encrypt() local
272 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey, in ecdh_cms_encrypt()
284 ASN1_STRING_set0(pubkey, penc, (int)enckeylen); in ecdh_cms_encrypt()
285 ossl_asn1_string_set_bits_left(pubkey, 0); in ecdh_cms_encrypt()