Lines Matching defs:dh
30 #include <openssl/dh.h>
44 #include "dh.h"
51 DH *dh;
61 dh = dh_new_group1();
64 dh = dh_new_group14();
69 dh_gen_key(dh, kex->we_need * 8);
71 packet_put_bignum2(dh->pub_key);
76 DHparams_print_fp(stderr, dh);
78 BN_print_fp(stderr, dh->pub_key);
113 if (!dh_pub_is_valid(dh, dh_server_pub))
116 klen = DH_size(dh);
118 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0)
137 dh->pub_key,
144 DH_free(dh);