diff options
author | tb <> | 2021-11-29 19:54:07 +0000 |
---|---|---|
committer | tb <> | 2021-11-29 19:54:07 +0000 |
commit | 33c4b670470691ed907e24ba05f290f1e366bd59 (patch) | |
tree | 611b1e72915a879263d2b76d2c8334dc0df91b46 /src/lib/libc/stdlib/bsearch.c | |
parent | b753fe631ca17cfd52a93a2e4d1cd2b5bccebcc9 (diff) | |
download | openbsd-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