Lines Matching defs:dh
32 #include "ossl-dh.h"
34 #include <openssl/dh.h>
49 #include "dh.h"
63 DH *dh;
108 dh = dh_new_group(g, p);
109 dh_gen_key(dh, kex->we_need * 8);
112 DHparams_print_fp(stderr, dh);
114 BN_print_fp(stderr, dh->pub_key);
121 packet_put_bignum2(dh->pub_key);
155 if (!dh_pub_is_valid(dh, dh_server_pub))
158 klen = DH_size(dh);
160 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0)
184 dh->p, dh->g,
185 dh->pub_key,
192 DH_free(dh);