Lines Matching refs:pub_key
96 if ((dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL)) == NULL) {
118 ASN1_INTEGER *pub_key = NULL;
134 pub_key = BN_to_ASN1_INTEGER(dh->pub_key, NULL);
135 if (pub_key == NULL)
138 penclen = i2d_ASN1_INTEGER(pub_key, &penc);
140 ASN1_INTEGER_free(pub_key);
248 BIGNUM *priv_key, *pub_key;
256 pub_key = x->pub_key;
258 pub_key = NULL;
261 || (ptype > 0 && pub_key == NULL)) {
280 if (!ASN1_bn_print(bp, "public-key:", pub_key, NULL, indent))
368 if (BN_cmp(b->pkey.dh->pub_key, a->pkey.dh->pub_key) != 0)
432 if (dh->pub_key == NULL) {
437 return DH_check_pub_key_ex(dh, dh->pub_key);
460 const BIGNUM *pub_key = DH_get0_pub_key(dh);
485 if (pub_key != NULL) {
486 if (!OSSL_PARAM_BLD_push_BN(tmpl, OSSL_PKEY_PARAM_PUB_KEY, pub_key))