CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2022/11/09 08:33:13

Modified files:
        lib/libcrypto/bn: bn_prime.c 

Log message:
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

Reply via email to