Lines Matching defs:dh
47 #include "dh.h"
72 DH *dh;
102 dh = dh_new_group1();
105 dh = dh_new_group14();
119 dh = PRIVSEP(choose_dh(min, nbits, max));
120 if (dh == NULL)
124 packet_put_bignum2(dh->p);
125 packet_put_bignum2(dh->g);
134 dh_gen_key(dh, kex->we_need * 8);
198 if (!dh_pub_is_valid(dh, dh_client_pub))
201 klen = DH_size(dh);
203 kout = DH_compute_key(kbuf, dh_client_pub, dh);
225 dh_client_pub, dh->pub_key, shared_secret,
237 dh->p, dh->g,
239 dh->pub_key,
263 packet_put_bignum2(dh->pub_key);
282 DH_free(dh);