From 431b00c6b30a1ef1a966909db53e7437d07e53b1 Mon Sep 17 00:00:00 2001 From: bg Date: Mon, 17 Feb 2014 15:52:31 +0100 Subject: [PATCH] forgot to reactivate mongomery-speedup --- bigint/bigint.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bigint/bigint.c b/bigint/bigint.c index d868a49..4209d95 100644 --- a/bigint/bigint.c +++ b/bigint/bigint.c @@ -1253,7 +1253,7 @@ void bigint_expmod_u(bigint_t *dest, const bigint_t *a, const bigint_t *exp, con printf("\n\tm: "); bigint_print_hex(r); #endif - if (0 && r->wordv[0] & 1) { + if (r->wordv[0] & 1) { bigint_expmod_u_mont_sam(dest, a, exp, r); } else { bigint_expmod_u_sam(dest, a, exp, r); -- 2.39.5