diff tommath_class.h @ 283:bd240aa12ba7 libtommath-dropbear

* Changes imported from Dropbear 0.47. * bn_mp_clear.c is changed so that some vars are volatile, so that the compiler won't optimise away
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Mar 2006 13:22:52 +0000
parents 91fbc376f010
children fa7a368e12b1
line wrap: on
line diff
--- a/tommath_class.h	Wed Mar 08 13:16:18 2006 +0000
+++ b/tommath_class.h	Wed Mar 08 13:22:52 2006 +0000
@@ -992,3 +992,9 @@
 #else
 #define LTM_LAST
 #endif
+
+/* Dropbear doesn't need these. */
+#undef BN_MP_KARATSUBA_MUL_C
+#undef BN_MP_KARATSUBA_SQR_C
+#undef BN_MP_TOOM_MUL_C
+#undef BN_MP_TOOM_SQR_C