Searched refs:dh_client_pub (Results 1 – 2 of 2) sorted by relevance
/external/openssh/ |
D | kexdhs.c | 53 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in kexdh_server() local 88 if ((dh_client_pub = BN_new()) == NULL) in kexdh_server() 90 packet_get_bignum2(dh_client_pub); in kexdh_server() 95 BN_print_fp(stderr, dh_client_pub); in kexdh_server() 97 debug("bits %d", BN_num_bits(dh_client_pub)); in kexdh_server() 106 if (!dh_pub_is_valid(dh, dh_client_pub)) in kexdh_server() 111 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0) in kexdh_server() 132 dh_client_pub, in kexdh_server() 137 BN_clear_free(dh_client_pub); in kexdh_server()
|
D | kexgexs.c | 56 BIGNUM *shared_secret = NULL, *dh_client_pub = NULL; in kexgex_server() local 125 if ((dh_client_pub = BN_new()) == NULL) in kexgex_server() 127 packet_get_bignum2(dh_client_pub); in kexgex_server() 132 BN_print_fp(stderr, dh_client_pub); in kexgex_server() 134 debug("bits %d", BN_num_bits(dh_client_pub)); in kexgex_server() 143 if (!dh_pub_is_valid(dh, dh_client_pub)) in kexgex_server() 148 if ((kout = DH_compute_key(kbuf, dh_client_pub, dh)) < 0) in kexgex_server() 175 dh_client_pub, in kexgex_server() 180 BN_clear_free(dh_client_pub); in kexgex_server()
|