Lines Matching refs:pub_key
156 BN_clear_free(r->pub_key);
253 void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
255 if (pub_key != NULL)
256 *pub_key = dh->pub_key;
261 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key)
263 if (pub_key != NULL) {
264 BN_clear_free(dh->pub_key);
265 dh->pub_key = pub_key;
298 return dh->pub_key;