From 5a2514f9e9b946ac8fff6c8fc80aec335c3e3454 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Wed, 14 Jul 2010 20:49:20 +0200 Subject: Reduce stack usage. --- libtommath/tommath.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libtommath') diff --git a/libtommath/tommath.h b/libtommath/tommath.h index f9845d8..37fb23c 100644 --- a/libtommath/tommath.h +++ b/libtommath/tommath.h @@ -134,7 +134,8 @@ extern int KARATSUBA_MUL_CUTOFF, TOOM_SQR_CUTOFF; /* define this to use lower memory usage routines (exptmods mostly) */ -/* #define MP_LOW_MEM */ +/* We use this to reduce stack usage --nmav */ +#define MP_LOW_MEM /* default precision */ #ifndef MP_PREC -- cgit