Skip to content
Commit feac7a1c authored by Kurt Roeckx's avatar Kurt Roeckx
Browse files

Make number of Miller-Rabin tests for a prime tests depend on the security level of the prime



The old numbers where all generated for an 80 bit security level. But
the number should depend on security level you want to reach. For bigger
primes we want a higher security level and so need to do more tests.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
Reviewed-by: default avatarMatthias St. Pierre <Matthias.St.Pierre@ncp-e.com>
Reviewed-by: default avatarPaul Dale <paul.dale@oracle.com>
GH: #6075
Fixes: #6012
parent 74ee3796
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment