From 20b7f3a475e0bf4175b70433a2e93783a1087ae5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 20 Oct 2006 15:04:51 +0000 Subject: [PATCH] Allocate more bits. git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@18649 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/des/imath/imath.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/des/imath/imath.c b/lib/des/imath/imath.c index 139936dcf..530dd867a 100755 --- a/lib/des/imath/imath.c +++ b/lib/des/imath/imath.c @@ -1191,11 +1191,11 @@ mp_result mp_int_exptmod(mp_int a, mp_int b, mp_int m, mp_int c) return MP_RANGE; um = MP_USED(m); - SETUP(mp_int_init_size(TEMP(0), 2 * um), last); - SETUP(mp_int_init_size(TEMP(1), 2 * um), last); + SETUP(mp_int_init_size(TEMP(0), 3 * um), last); + SETUP(mp_int_init_size(TEMP(1), 3 * um), last); if(c == b || c == m) { - SETUP(mp_int_init_size(TEMP(2), 2 * um), last); + SETUP(mp_int_init_size(TEMP(2), 3 * um), last); s = TEMP(2); } else {