Lines Matching refs:dh
34 #include <openssl/dh.h>
43 #include "dh.h"
54 DH *dh;
63 dh = dh_new_group1();
66 dh = dh_new_group14();
71 dh_gen_key(dh, kex->we_need * 8);
98 DHparams_print_fp(stderr, dh);
100 BN_print_fp(stderr, dh->pub_key);
103 if (!dh_pub_is_valid(dh, dh_client_pub))
106 klen = DH_size(dh);
108 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0)
130 dh->pub_key,
152 packet_put_bignum2(dh->pub_key); /* f */
159 DH_free(dh);