Botan: Fix unsafe Miller-Rabin test.
This update fixes the following issue with Botan:
- Fix a bug in primality testing introduced in 1.8.3 which caused only a single random base, rather than a sequence of random bases, to be used in the Miller-Rabin test. This increased the probability that a non-prime would be accepted, for instance a 1024 bit number would be incorrectly classed as prime with probability around 2^-40.
-
Submitted by
Thorsten Behrens (netsroth)