CVSROOT:        /cvs
Module name:    src
Changes by:     t...@cvs.openbsd.org    2025/02/04 05:47:58

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

Log message:
Inline BN_reciprocal() in its only caller

This is simpler, doesn't need an auxiliary function of dubious value,
avouds an auxiliary variable and gets rid of a bunch of comments that
are hard to make sense of.

This doesn't bother to invalidate recp->shift since on error you should
not be reusing the RECP_CTX without reinitializing it.

ok jsing

Reply via email to