Home
last modified time | relevance | path

Searched refs:g_xh (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()
282 if ((g_xh = BN_new()) == NULL || in schnorr_verify()
303 SCHNORR_DEBUG_BN((g_xh, "%s: g_xh = ", __func__)); in schnorr_verify()
312 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx) == -1) { in schnorr_verify()
316 SCHNORR_DEBUG_BN((g_xh, "%s: g_xh = ", __func__)); in schnorr_verify()
326 if (BN_mod_mul(expected, g_r, g_xh, grp_p, bn_ctx) == -1) { in schnorr_verify()
340 if (g_xh != NULL) in schnorr_verify()
341 BN_clear_free(g_xh); in schnorr_verify()