Home
last modified time | relevance | path

Searched refs:g_r (Results 1 – 1 of 1) sorted by relevance

/external/openssh/
Dschnorr.c261 BIGNUM *h = NULL, *g_xh = NULL, *g_r = NULL, *gx_q = NULL; in schnorr_verify() local
277 h = g_xh = g_r = expected = NULL; in schnorr_verify()
283 (g_r = BN_new()) == NULL || in schnorr_verify()
319 if (BN_mod_exp(g_r, grp_g, r, grp_p, bn_ctx) == -1) { in schnorr_verify()
323 SCHNORR_DEBUG_BN((g_r, "%s: g_r = ", __func__)); in schnorr_verify()
326 if (BN_mod_mul(expected, g_r, g_xh, grp_p, bn_ctx) == -1) { in schnorr_verify()
342 if (g_r != NULL) in schnorr_verify()
343 BN_clear_free(g_r); in schnorr_verify()