Home | History | Annotate | Download | only in openssh

Lines Matching refs:DH

30 #include <openssl/dh.h>
44 #include "dh.h"
51 DH *dh;
58 /* generate and send 'e', client DH public key */
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);
97 /* DH parameter f, server public DH key */
113 if (!dh_pub_is_valid(dh, dh_server_pub))
114 packet_disconnect("bad server public DH value");
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);