simon-svn: putty: simon

Commits to Tartarus CVS repository. tartarus-commits at lists.tartarus.org
Mon Feb 24 23:35:55 GMT 2014


SVN root:       svn://svn.tartarus.org/sgt
Changes by:     simon
Revision:       10147
Date:           2014-02-24 23:35:55 +0000 (Mon, 24 Feb 2014)

Log message (6 lines):
Add a missing bn_restore_invariant in RSA blinding code.

We were inventing a random number by starting with a long zero bignum
and then setting bits at random, which left an opportunity for the
result to be a non-normalised representation (with a leading zero
word) and hence fail an assertion in bignum_cmp.

Modified files:
U   putty/sshrsa.c

Links:
http://svn.tartarus.org/sgt/?rev=10147&view=rev
http://svn.tartarus.org/sgt/putty/sshrsa.c?rev=10147&r1=10146&r2=10147



More information about the tartarus-commits mailing list