Lines Matching defs:pubkey
97 static int dh_pub_decode(EVP_PKEY *pkey, X509_PUBKEY *pubkey)
109 if (!X509_PUBKEY_get0_param(NULL, &p, &pklen, &palg, pubkey))
203 * explcitly included and the pubkey must be recalculated.
654 X509_ALGOR *alg, ASN1_BIT_STRING *pubkey)
681 plen = ASN1_STRING_length(pubkey);
682 p = ASN1_STRING_data(pubkey);
802 ASN1_BIT_STRING *pubkey;
803 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &alg, &pubkey,
806 if (!alg || !pubkey)
808 if (!dh_cms_set_peerkey(pctx, alg, pubkey)) {
829 ASN1_BIT_STRING *pubkey;
843 if (!CMS_RecipientInfo_kari_get0_orig_id(ri, &talg, &pubkey,
859 ASN1_STRING_set0(pubkey, penc, penclen);
860 pubkey->flags &= ~(ASN1_STRING_FLAG_BITS_LEFT | 0x07);
861 pubkey->flags |= ASN1_STRING_FLAG_BITS_LEFT;