Searched refs:dh_pub_them (Results 1 - 2 of 2) sorted by relevance
/external/dropbear/ |
H A D | kex.h | 37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
|
H A D | common-kex.c | 512 * dh_pub_us is 'e' for the client, 'f' for the server. dh_pub_them is 514 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them, argument 525 /* Check that dh_pub_them (dh_e or dh_f) is in the range [1, p-1] */ 526 if (mp_cmp(dh_pub_them, &dh_p) != MP_LT 527 || mp_cmp_d(dh_pub_them, 0) != MP_GT) { 534 if (mp_exptmod(dh_pub_them, dh_priv, &dh_p, ses.dh_K) != MP_OKAY) { 545 dh_f = dh_pub_them; 547 dh_e = dh_pub_them;
|
Completed in 55 milliseconds