Lines Matching defs:dh
37 #include "ossl-dh.h"
39 #include <openssl/dh.h>
49 #include "dh.h"
62 DH *dh;
109 dh = PRIVSEP(choose_dh(min, nbits, max));
110 if (dh == NULL)
115 packet_put_bignum2(dh->p);
116 packet_put_bignum2(dh->g);
123 dh_gen_key(dh, kex->we_need * 8);
142 DHparams_print_fp(stderr, dh);
144 BN_print_fp(stderr, dh->pub_key);
147 if (!dh_pub_is_valid(dh, dh_client_pub))
150 klen = DH_size(dh);
152 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0)
178 dh->p, dh->g,
180 dh->pub_key,
204 packet_put_bignum2(dh->pub_key); /* f */
211 DH_free(dh);