diff options
author | tb <> | 2022-11-09 15:33:13 +0000 |
---|---|---|
committer | tb <> | 2022-11-09 15:33:13 +0000 |
commit | 2ea919ef988c51be365c13bd705c0fa9aee3f4b5 (patch) | |
tree | e7b6b3945ca4b7e7ae027a59ebcdd89b9aa54bfd /src/regress/lib/libcrypto/evp/evp_test.c | |
parent | 10f7df3916f95e9767bb7bf4b1b9a7a00d15c65f (diff) | |
download | openbsd-2ea919ef988c51be365c13bd705c0fa9aee3f4b5.tar.gz openbsd-2ea919ef988c51be365c13bd705c0fa9aee3f4b5.tar.bz2 openbsd-2ea919ef988c51be365c13bd705c0fa9aee3f4b5.zip |
Inline use of bn_is_prime_bpsw()
Instead of using the BN_is_prime_fasttime_ex() API, use a direct call to
bn_is_prime_bpsw(). This increases readability and simplifies error
handling. Also put a division by two to the natural place now that we no
longer need to do Miller-Rabin rounds.
ok beck jsing
Diffstat (limited to 'src/regress/lib/libcrypto/evp/evp_test.c')
0 files changed, 0 insertions, 0 deletions