CVSROOT:        /cvs
Module name:    src
Changes by:     js...@cvs.openbsd.org   2025/08/30 01:54:27

Modified files:
        lib/libcrypto/bn: bn_div.c bn_local.h bn_mont.c bn_mul.c 
                          bn_sqr.c bn_word.c 
        lib/libcrypto/bn/arch/amd64: bn_arch.c bn_arch.h 
        lib/libcrypto/bn/arch/i386: bn_arch.h 
        lib/libcrypto/bn/arch/mips64: bn_arch.h 
        lib/libcrypto/bn/arch/powerpc: bn_arch.h 
        lib/libcrypto/bn/asm: bn-586.pl mips.pl ppc.pl 

Log message:
Rename bn_mul_words()/bn_mul_add_words().

Most bn_.*_words() functions operate on two word arrays, however
bn_mul_words() and bn_mul_add_words() operate on one word array and
multiply by a single word. Rename these to bn_mulw_words() and
bn_mulw_add_words() to reflect this, following naming scheme that we use
for primitives.

This frees up bn_mul_words() to actually be used for multiplying two word
arrays. Rename bn_mul_normal() to bn_mul_words(), which will then become
one of the possible assembly integration points.

ok tb@

Reply via email to