From 014ecddf18c46b5fa9a6d80ca56086c536dd7c30 Mon Sep 17 00:00:00 2001 From: MITSUNARI Shigeo Date: Mon, 15 Mar 2021 16:14:44 +0900 Subject: [PATCH] use montRed for sqrMont --- src/low_func.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/low_func.hpp b/src/low_func.hpp index 77c3805..580e6ef 100644 --- a/src/low_func.hpp +++ b/src/low_func.hpp @@ -641,7 +641,7 @@ template struct SqrMont { static inline void func(Unit *y, const Unit *x, const Unit *p) { -#if MCL_MAX_BIT_SIZE == 1024 || MCL_SIZEOF_UNIT == 4 // check speed +#if 0 // #if MCL_MAX_BIT_SIZE == 1024 || MCL_SIZEOF_UNIT == 4 // check speed Unit xx[N * 2]; SqrPre::f(xx, x); MontRed::f(y, xx, p);