summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2020-06-18 19:12:07 +0800
committerMatt Johnston <matt@ucc.asn.au>2020-06-18 19:12:07 +0800
commitfd9b7b3476fad7c401b9dd475c1857a7184d6e88 (patch)
treefe017d03a119bfedd2266ec07851b83971c4027e
parenta5e552e3fd3ee2e02e06793880997ad326b9672d (diff)
downloaddropbear-fd9b7b3476fad7c401b9dd475c1857a7184d6e88.tar.gz
Disable toom and karatsuba for new libtommath
-rw-r--r--libtommath/tommath_class.h4
1 files changed, 4 insertions, 0 deletions
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