Lines Matching refs:pub_key
49 BIGNUM *pub_key = NULL, *priv_key = NULL; in DSA_dup_DH() local
60 if (r->pub_key != NULL) { in DSA_dup_DH()
61 pub_key = BN_dup(r->pub_key); in DSA_dup_DH()
62 if (pub_key == NULL) in DSA_dup_DH()
69 if (!DH_set0_key(ret, pub_key, priv_key)) in DSA_dup_DH()
79 BN_free(pub_key); in DSA_dup_DH()
240 BN_clear_free(r->pub_key); in DSA_free()
301 return d->pub_key; in DSA_get0_pub_key()
310 const BIGNUM **pub_key, const BIGNUM **priv_key) in DSA_get0_key() argument
312 if (pub_key != NULL) in DSA_get0_key()
313 *pub_key = d->pub_key; in DSA_get0_key()
318 int DSA_set0_key(DSA *d, BIGNUM *pub_key, BIGNUM *priv_key) in DSA_set0_key() argument
320 if (pub_key != NULL) { in DSA_set0_key()
321 BN_free(d->pub_key); in DSA_set0_key()
322 d->pub_key = pub_key; in DSA_set0_key()