summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib
diff options
context:
space:
mode:
authorschwarze <>2019-08-25 19:24:00 +0000
committerschwarze <>2019-08-25 19:24:00 +0000
commit0fd355ae5ac95f1b4265d2c28d096b63de52a902 (patch)
treeb5109bcc1c452d104f90693aee6a22d0e945d314 /src/lib/libc/stdlib
parent3e0d633597e925f43fe58ba1b6db7685be9a589c (diff)
downloadopenbsd-0fd355ae5ac95f1b4265d2c28d096b63de52a902.tar.gz
openbsd-0fd355ae5ac95f1b4265d2c28d096b63de52a902.tar.bz2
openbsd-0fd355ae5ac95f1b4265d2c28d096b63de52a902.zip
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 'src/lib/libc/stdlib')
0 files changed, 0 insertions, 0 deletions