Lines Matching defs:dh
31 #include "ossl-dh.h"
33 #include <openssl/dh.h>
48 #include "dh.h"
55 DH *dh;
65 dh = dh_new_group1();
68 dh = dh_new_group14();
73 dh_gen_key(dh, kex->we_need * 8);
75 packet_put_bignum2(dh->pub_key);
80 DHparams_print_fp(stderr, dh);
82 BN_print_fp(stderr, dh->pub_key);
117 if (!dh_pub_is_valid(dh, dh_server_pub))
120 klen = DH_size(dh);
122 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0)
141 dh->pub_key,
148 DH_free(dh);