Lines Matching defs:dh
34 #include <openssl/dh.h>
43 #include "dh.h"
50 DH *dh;
59 dh = dh_new_group1();
62 dh = dh_new_group14();
67 dh_gen_key(dh, kex->we_need * 8);
94 DHparams_print_fp(stderr, dh);
96 BN_print_fp(stderr, dh->pub_key);
99 if (!dh_pub_is_valid(dh, dh_client_pub))
102 klen = DH_size(dh);
104 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0)
126 dh->pub_key,
148 packet_put_bignum2(dh->pub_key); /* f */
155 DH_free(dh);