diff options
author | tb <> | 2022-11-09 15:33:13 +0000 |
---|---|---|
committer | tb <> | 2022-11-09 15:33:13 +0000 |
commit | c459b1baf8314a25c332460055a40174f925262e (patch) | |
tree | e7b6b3945ca4b7e7ae027a59ebcdd89b9aa54bfd /src/lib/libcrypto/dsa | |
parent | 5029465506eb2a9a379e78b43540b535bb023fdc (diff) | |
download | openbsd-c459b1baf8314a25c332460055a40174f925262e.tar.gz openbsd-c459b1baf8314a25c332460055a40174f925262e.tar.bz2 openbsd-c459b1baf8314a25c332460055a40174f925262e.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/lib/libcrypto/dsa')
0 files changed, 0 insertions, 0 deletions