Searched refs:dh_client_pub (Results 1 - 2 of 2) sorted by relevance

/freebsd-11.0-release/crypto/openssh/
H A Dkexdhs.c91 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
114 if ((dh_client_pub = BN_new()) == NULL) {
118 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 ||
123 fprintf(stderr, "dh_client_pub= ");
124 BN_print_fp(stderr, dh_client_pub);
126 debug("bits %d", BN_num_bits(dh_client_pub));
135 if (!dh_pub_is_valid(kex->dh, dh_client_pub)) {
147 if ((kout = DH_compute_key(kbuf, dh_client_pub, kex->dh)) < 0 ||
166 dh_client_pub,
204 if (dh_client_pub)
[all...]
H A Dkexgexs.c127 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
150 if ((dh_client_pub = BN_new()) == NULL) {
154 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 ||
159 fprintf(stderr, "dh_client_pub= ");
160 BN_print_fp(stderr, dh_client_pub);
162 debug("bits %d", BN_num_bits(dh_client_pub));
171 if (!dh_pub_is_valid(kex->dh, dh_client_pub)) {
183 if ((kout = DH_compute_key(kbuf, dh_client_pub, kex->dh)) < 0 ||
205 dh_client_pub,
242 if (dh_client_pub)
[all...]

Completed in 305 milliseconds