From 10e119f638b3f5f1b9b7e3e3df8a011f2671c6d2 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Thu, 18 Jun 2020 19:12:07 +0800 Subject: [PATCH] Disable toom and karatsuba for new libtommath --- libtommath/tommath_class.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/libtommath/tommath_class.h b/libtommath/tommath_class.h index 6742c50..19bef02 100644 --- a/libtommath/tommath_class.h +++ b/libtommath/tommath_class.h @@ -1312,6 +1312,10 @@ #undef BN_MP_KARATSUBA_SQR_C #undef BN_MP_TOOM_MUL_C #undef BN_MP_TOOM_SQR_C +#undef BN_S_MP_KARATSUBA_MUL_C +#undef BN_S_MP_KARATSUBA_SQR_C +#undef BN_S_MP_TOOM_MUL_C +#undef BN_S_MP_TOOM_SQR_C #include "dbmalloc.h" #define MP_MALLOC m_malloc