Lines Matching refs:pub_key
133 if (!(dh->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
158 ASN1_INTEGER *pub_key = NULL;
174 pub_key = BN_to_ASN1_INTEGER(dh->pub_key, NULL);
175 if (!pub_key)
178 penclen = i2d_ASN1_INTEGER(pub_key, &penc);
180 ASN1_INTEGER_free(pub_key);
342 BIGNUM *priv_key, *pub_key;
350 pub_key = x->pub_key;
352 pub_key = NULL;
365 update_buflen(pub_key, &buf_len);
388 if (!ASN1_bn_print(bp, "public-key:", pub_key, m, indent))
531 if (BN_cmp(b->pkey.dh->pub_key, a->pkey.dh->pub_key) != 0)
692 if (!(dhpeer->pub_key = ASN1_INTEGER_to_BN(public_key, NULL))) {
850 pubk = BN_to_ASN1_INTEGER(pkey->pkey.dh->pub_key, NULL);