Lines Matching refs:pub_key
37 + const BIGNUM *pub_key, *p, *g;
45 - write(request, state.dh->pub_key);
49 + DH_get0_key(state.dh, &pub_key, NULL);
51 + write(request, pub_key);
70 BIGNUM* pub_key = BN_new();
71 read(data, &pub_key);
86 + BN_free(pub_key);
96 - write(response, state.dh->pub_key);
175 +void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key)
177 + if (pub_key != NULL)
178 + *pub_key = dh->pub_key;
199 +void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key);