Searched refs:dh_client_pub (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | kexdhs.c | 98 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in input_kex_dh_init() local 121 if ((dh_client_pub = BN_new()) == NULL) { in input_kex_dh_init() 125 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 || in input_kex_dh_init() 131 BN_print_fp(stderr, dh_client_pub); in input_kex_dh_init() 133 debug("bits %d", BN_num_bits(dh_client_pub)); in input_kex_dh_init() 142 if (!dh_pub_is_valid(kex->dh, dh_client_pub)) { in input_kex_dh_init() 154 if ((kout = DH_compute_key(kbuf, dh_client_pub, kex->dh)) < 0 || in input_kex_dh_init() 174 dh_client_pub, in input_kex_dh_init() 212 if (dh_client_pub) in input_kex_dh_init() 213 BN_clear_free(dh_client_pub); in input_kex_dh_init()
|
D | kexgexs.c | 127 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in input_kex_dh_gex_init() local 150 if ((dh_client_pub = BN_new()) == NULL) { in input_kex_dh_gex_init() 154 if ((r = sshpkt_get_bignum2(ssh, dh_client_pub)) != 0 || in input_kex_dh_gex_init() 160 BN_print_fp(stderr, dh_client_pub); in input_kex_dh_gex_init() 162 debug("bits %d", BN_num_bits(dh_client_pub)); in input_kex_dh_gex_init() 171 if (!dh_pub_is_valid(kex->dh, dh_client_pub)) { in input_kex_dh_gex_init() 183 if ((kout = DH_compute_key(kbuf, dh_client_pub, kex->dh)) < 0 || in input_kex_dh_gex_init() 205 dh_client_pub, in input_kex_dh_gex_init() 242 if (dh_client_pub) in input_kex_dh_gex_init() 243 BN_clear_free(dh_client_pub); in input_kex_dh_gex_init()
|