Home | History | Annotate | Download | only in openssh

Lines Matching refs:bn_ctx

131 	BN_CTX *bn_ctx;
147 if ((bn_ctx = BN_CTX_new()) == NULL) {
169 if (BN_mod_exp(g_v, grp_g, v, grp_p, bn_ctx) == -1) {
183 if (BN_mod_mul(tmp, x, h, grp_q, bn_ctx) == -1) {
187 if (BN_mod_sub(r, v, tmp, grp_q, bn_ctx) == -1) {
199 BN_CTX_free(bn_ctx);
263 BN_CTX *bn_ctx;
278 if ((bn_ctx = BN_CTX_new()) == NULL) {
294 if (BN_mod_exp(gx_q, g_x, grp_q, grp_p, bn_ctx) == -1) {
312 if (BN_mod_exp(g_xh, g_x, h, grp_p, bn_ctx) == -1) {
319 if (BN_mod_exp(g_r, grp_g, r, grp_p, bn_ctx) == -1) {
326 if (BN_mod_mul(expected, g_r, g_xh, grp_p, bn_ctx) == -1) {
335 BN_CTX_free(bn_ctx);
587 BN_CTX *bn_ctx;
589 if ((bn_ctx = BN_CTX_new()) == NULL)
594 if (BN_mod_exp(g_x, grp_g, x, grp_p, bn_ctx) == -1)
611 BN_CTX_free(bn_ctx);