diff options
author | lloyd <[email protected]> | 2009-07-10 00:58:04 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2009-07-10 00:58:04 +0000 |
commit | 0b68ccf2bae10f41cee506fb2eb64d608d694043 (patch) | |
tree | 7cc3a2a04220bc651e089b98a99f6bb44236be21 /checks/bigint.cpp | |
parent | 1a0b389ab37050c1dc4033c9933849e1725f761f (diff) |
Devai Tamas pointed out on the mailing list that random_prime with bits
set to 2, 3, or 4 was not returning a random prime due to reducing the
rng output modulo 1 instead of mod 2 in choosing which prime of that size
to return. Oops.
Diffstat (limited to 'checks/bigint.cpp')
0 files changed, 0 insertions, 0 deletions