summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/dsa
diff options
context:
space:
mode:
authortb <>2022-11-09 15:33:13 +0000
committertb <>2022-11-09 15:33:13 +0000
commitc459b1baf8314a25c332460055a40174f925262e (patch)
treee7b6b3945ca4b7e7ae027a59ebcdd89b9aa54bfd /src/lib/libcrypto/dsa
parent5029465506eb2a9a379e78b43540b535bb023fdc (diff)
downloadopenbsd-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