CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/01/22 03:08:10

Modified files:
        lib/libcrypto/bn: bn_exp.c bn_local.h bn_recp.c 

Log message:
Split BN_mod_sqr_reciprocal() out of BN_mod_mul_reciprocal()

There's no need for BN_mod_mul_reciprocal() to have this complication.
The caller knows when x == y, so place the burden on the caller. This
simplifies both the caller side and the implementation in bn_recp.c.

ok jsing

Reply via email to