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

/freebsd-11-stable/crypto/openssh/
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...]
H A Dkexdhs.c98 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; local
121 if ((dh_client_pub = BN_new()) == NULL) {
125 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 ||
130 fprintf(stderr, "dh_client_pub= ");
131 BN_print_fp(stderr, dh_client_pub);
133 debug("bits %d", BN_num_bits(dh_client_pub));
142 if (!dh_pub_is_valid(kex->dh, dh_client_pub)) {
154 if ((kout = DH_compute_key(kbuf, dh_client_pub, kex->dh)) < 0 ||
174 dh_client_pub,
212 if (dh_client_pub)
[all...]

Completed in 113 milliseconds