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
commit10e119f638b3f5f1b9b7e3e3df8a011f2671c6d2 (patch)
treedb5bb82d135e93703bea279c642d2c7baa71fa3c
parent5b68d117c2654a28340d3198d1ceb43d3b0075ba (diff)
downloaddropbear-10e119f638b3f5f1b9b7e3e3df8a011f2671c6d2.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