Searched refs:dh_server_pub (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | kexdhc.c | 50 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; in kexdh_client() local 98 if ((dh_server_pub = BN_new()) == NULL) in kexdh_client() 100 packet_get_bignum2(dh_server_pub); in kexdh_client() 104 BN_print_fp(stderr, dh_server_pub); in kexdh_client() 106 debug("bits %d", BN_num_bits(dh_server_pub)); in kexdh_client() 113 if (!dh_pub_is_valid(dh, dh_server_pub)) in kexdh_client() 118 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0) in kexdh_client() 138 dh_server_pub, in kexdh_client() 143 BN_clear_free(dh_server_pub); in kexdh_client()
|
D | kexgexc.c | 52 BIGNUM *dh_server_pub = NULL, *shared_secret = NULL; in kexgex_client() local 136 if ((dh_server_pub = BN_new()) == NULL) in kexgex_client() 138 packet_get_bignum2(dh_server_pub); in kexgex_client() 142 BN_print_fp(stderr, dh_server_pub); in kexgex_client() 144 debug("bits %d", BN_num_bits(dh_server_pub)); in kexgex_client() 151 if (!dh_pub_is_valid(dh, dh_server_pub)) in kexgex_client() 156 if ((kout = DH_compute_key(kbuf, dh_server_pub, dh)) < 0) in kexgex_client() 182 dh_server_pub, in kexgex_client() 190 BN_clear_free(dh_server_pub); in kexgex_client()
|