Commit Graph

15 Commits

Author SHA1 Message Date
Steffen Jaeckel
e9b1837c8c mp_expt_d: bring back pre 921be35779 state
The implementation of the expt_d functionality is now implemented in the
mp_expt_d_ex() function.

The user can now choose between the old (more timing resistant) version
and the new version by modification of the parameter 'fast'.

mp_expt_d() defaults to the old version
2014-09-28 13:33:59 +02:00
Dirkjan Bussink
e071a03b63 Squared result was stored in the wrong variable 2011-03-23 20:14:23 +01:00
Dirkjan Bussink
921be35779 Improving performance of bn_mp_expt_d
The loop was always iterating DIGIT_BIT times, instead of
halting when possible. This changes makes sure it executes
less operations. This change has also been incorporated
into Rubinius / https://github.com/evanphx/rubinius which
uses libtommath
2010-11-26 22:24:23 +01:00
Tom St Denis
333aebc894 added libtommath-0.41 2010-07-15 17:26:06 +02:00
Tom St Denis
f0b91a572e added libtommath-0.39 2010-07-15 17:26:01 +02:00
Tom St Denis
9294e79150 added libtommath-0.36 2010-07-15 17:25:56 +02:00
Tom St Denis
e549ccfec5 added libtommath-0.32 2010-07-15 17:25:47 +02:00
Tom St Denis
455bb4db20 added libtommath-0.28 2010-07-15 17:25:39 +02:00
Tom St Denis
c1da6aa2de added libtommath-0.25 2010-07-15 17:25:33 +02:00
Tom St Denis
0ef44cea9b added libtommath-0.18 2010-07-15 17:25:22 +02:00
Tom St Denis
fd181cc841 added libtommath-0.17 2010-07-15 17:25:21 +02:00
Tom St Denis
14161e843e added libtommath-0.16 2010-07-15 17:25:19 +02:00
Tom St Denis
82f4858291 added libtommath-0.14 2010-07-15 17:25:17 +02:00
Tom St Denis
b66471f74f added libtommath-0.13 2010-07-15 17:25:15 +02:00
Tom St Denis
57354e11ac added libtommath-0.12 2010-07-15 17:25:14 +02:00