summaryrefslogtreecommitdiffhomepage
path: root/tommath_class.h
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2006-03-08 13:22:52 +0000
committerMatt Johnston <matt@ucc.asn.au>2006-03-08 13:22:52 +0000
commit2481693cf23dba90c693762a528d2923cde9c9cc (patch)
tree26730439ecf0977978aa6a000f62f0c3c9144e2e /tommath_class.h
parent1c5fda515f96c27d4e3b732d887f418453f1cb14 (diff)
* 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 --HG-- branch : libtommath-dropbear extra : convert_revision : 6c790cad5a7fa866ad062cb3a0c279f7ba788583
Diffstat (limited to 'tommath_class.h')
-rw-r--r--tommath_class.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/tommath_class.h b/tommath_class.h
index 6d05b7b..9faf627 100644
--- a/tommath_class.h
+++ b/tommath_class.h
@@ -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