Mercurial > dropbear
comparison bn_s_mp_exptmod.c @ 386:97db060d0ef5 libtommath-orig libtommath-0.40
Update to LibTomMath 0.40
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Thu, 11 Jan 2007 03:11:15 +0000 |
parents | 91fbc376f010 |
children |
comparison
equal
deleted
inserted
replaced
282:91fbc376f010 | 386:97db060d0ef5 |
---|---|
10 * additional optimizations in place. | 10 * additional optimizations in place. |
11 * | 11 * |
12 * The library is free for all purposes without any express | 12 * The library is free for all purposes without any express |
13 * guarantee it works. | 13 * guarantee it works. |
14 * | 14 * |
15 * Tom St Denis, [email protected], http://math.libtomcrypt.org | 15 * Tom St Denis, [email protected], http://math.libtomcrypt.com |
16 */ | 16 */ |
17 | |
18 #ifdef MP_LOW_MEM | 17 #ifdef MP_LOW_MEM |
19 #define TAB_SIZE 32 | 18 #define TAB_SIZE 32 |
20 #else | 19 #else |
21 #define TAB_SIZE 256 | 20 #define TAB_SIZE 256 |
22 #endif | 21 #endif |
245 mp_clear (&M[x]); | 244 mp_clear (&M[x]); |
246 } | 245 } |
247 return err; | 246 return err; |
248 } | 247 } |
249 #endif | 248 #endif |
249 | |
250 /* $Source: /cvs/libtom/libtommath/bn_s_mp_exptmod.c,v $ */ | |
251 /* $Revision: 1.4 $ */ | |
252 /* $Date: 2006/03/31 14:18:44 $ */ |