simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Feb 21 19:47:28 GMT 2011


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       9103
Date:           2011-02-21 19:47:28 +0000 (Mon, 21 Feb 2011)

Log message (6 lines):
Move the malloc and free of scratch space out of the internal_mul
routines into their callers, where they'll be done once for a whole
modpow rather than many times within each multiply. Doesn't save much
time as far as I can see - perhaps a couple of percent, one second in
the minute it takes to run the new bignum test suite - but seems like
a sensible idea anyway on general principles.

Modified files:
U   putty/sshbn.c

Links:
http://svn.tartarus.org/sgt/?rev=9103&view=rev
http://svn.tartarus.org/sgt/putty/sshbn.c?rev=9103&r1=9102&r2=9103



More information about the tartarus-commits mailing list