mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-01-09 17:38:00 +00:00
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. [originally from svn r10147]
This commit is contained in:
parent
e2a5c6b679
commit
b8e5f74d4a
Loading…
Reference in New Issue
Block a user