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
commit33c4b670470691ed907e24ba05f290f1e366bd59 (patch)
tree611b1e72915a879263d2b76d2c8334dc0df91b46 /src/lib/libc/stdlib/bsearch.c
parentb753fe631ca17cfd52a93a2e4d1cd2b5bccebcc9 (diff)
downloadopenbsd-33c4b670470691ed907e24ba05f290f1e366bd59.tar.gz
openbsd-33c4b670470691ed907e24ba05f290f1e366bd59.tar.bz2
openbsd-33c4b670470691ed907e24ba05f290f1e366bd59.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