summaryrefslogtreecommitdiff
path: root/src/lib/libc/stdlib/bsearch.c
diff options
context:
space:
mode:
authortb <>2021-11-29 19:54:07 +0000
committertb <>2021-11-29 19:54:07 +0000
commit6d32c9c1e2049cd1c60c71a04379c7ffa6aa3ab0 (patch)
tree611b1e72915a879263d2b76d2c8334dc0df91b46 /src/lib/libc/stdlib/bsearch.c
parent39831efe0c531b9f6d21f4f377dc9f07e7659f73 (diff)
downloadopenbsd-6d32c9c1e2049cd1c60c71a04379c7ffa6aa3ab0.tar.gz
openbsd-6d32c9c1e2049cd1c60c71a04379c7ffa6aa3ab0.tar.bz2
openbsd-6d32c9c1e2049cd1c60c71a04379c7ffa6aa3ab0.zip
Increase number of iterations in Miller-Rabin checks for DH.
BN_prime_checks is only to be used for random input. Here, the input isn't random, so increase the number of checks. According to https://eprint.iacr.org/2019/032, 64 rounds is suitable. From Jake Massimo, OpenSSL 1.1.1, af6ce3b4 ok inoguchi jsing
Diffstat (limited to 'src/lib/libc/stdlib/bsearch.c')
0 files changed, 0 insertions, 0 deletions