Lines Matching refs:pub_key
200 DSA_get0_key(const DSA *d, const BIGNUM **pub_key, const BIGNUM **priv_key) in DSA_get0_key() argument
202 if (pub_key != NULL) in DSA_get0_key()
203 *pub_key = d->pub_key; in DSA_get0_key()
211 DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key() argument
213 if (d->pub_key == NULL && pub_key == NULL) in DSA_set0_key()
216 if (pub_key != NULL) { in DSA_set0_key()
217 BN_free(d->pub_key); in DSA_set0_key()
218 d->pub_key = pub_key; in DSA_set0_key()
489 DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) in DH_get0_key() argument
491 if (pub_key != NULL) in DH_get0_key()
492 *pub_key = dh->pub_key; in DH_get0_key()
500 DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) in DH_set0_key() argument
502 if (pub_key != NULL) { in DH_set0_key()
503 BN_free(dh->pub_key); in DH_set0_key()
504 dh->pub_key = pub_key; in DH_set0_key()