Searched refs:dh_pub_them (Results 1 – 2 of 2) sorted by relevance
/external/dropbear/ |
D | common-kex.c | 514 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them, in kexdh_comb_key() argument 526 if (mp_cmp(dh_pub_them, &dh_p) != MP_LT in kexdh_comb_key() 527 || mp_cmp_d(dh_pub_them, 0) != MP_GT) { in kexdh_comb_key() 534 if (mp_exptmod(dh_pub_them, dh_priv, &dh_p, ses.dh_K) != MP_OKAY) { in kexdh_comb_key() 545 dh_f = dh_pub_them; in kexdh_comb_key() 547 dh_e = dh_pub_them; in kexdh_comb_key()
|
D | kex.h | 37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
|