]> asedeno.scripts.mit.edu Git - PuTTY.git/commit
Failure to set multipliers[NPRIMES] was rendering the input-modulus
authorSimon Tatham <anakin@pobox.com>
Sat, 28 Jun 2003 14:11:28 +0000 (14:11 +0000)
committerSimon Tatham <anakin@pobox.com>
Sat, 28 Jun 2003 14:11:28 +0000 (14:11 +0000)
commit61648131fb37777c927e955e4beb82665be1640f
tree09832219b73b1e2952cc67ea8c5da9f3acc722d4
parentf9ca6e850165600356636f6c853cbd9942a690dd
Failure to set multipliers[NPRIMES] was rendering the input-modulus
feature (make sure your prime is not congruent to Foo mod Bar)
largely ineffective. As a result, RSA keys were being generated
every so often with at least one prime congruent to 1 mod 37,
causing modinv(37, phi(n)) to divide by zero, and rightly so. I
believe this fixes `puttygen-zero-div'.

[originally from svn r3316]
sshprime.c