diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-08-25 19:24:01 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2019-08-25 19:24:01 +0000 |
commit | 644a0463bed8ebe79beab05bcefe774ed2ab87cd (patch) | |
tree | ffcbc9d9011afe2c065be3f49932168ff0c8a619 /distrib/sets | |
parent | 0a7d9aab12f57d33d1c79829041d832d63710b44 (diff) |
Change generating and checking of primes so that the error rate of
not being prime depends on the intended use based on the size of
the input. For larger primes this will result in more rounds of
Miller-Rabin. The maximal error rate for primes with more than
1080 bits is lowered to 2^-128.
Patch from Kurt Roeckx <kurt@roeckx.be> and Annie Yousar
via OpenSSL commit feac7a1c Jul 25 18:55:16 2018 +0200,
still under a free license.
OK tb@.
Diffstat (limited to 'distrib/sets')
0 files changed, 0 insertions, 0 deletions