CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2023/03/06 23:19:44

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

Log message:
Implement bn_montgomery_multiply()

Provide a constant-time-style Montgomery multiplication implementation.
Use this in place of the assembly bn_mul_mont() on platforms that either
do not have an assembly implementation or have not compiled it in.

Also use this as the fallback version for bn_mul_mont(), rather than
falling back to a non-constant time implementation.

ok beck@ tb@

Reply via email to