Move bn_mul_add_words() and bn_mul_words() from bn_asm.c to bn_mul.c.
authorjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 12:17:57 +0000 (12:17 +0000)
committerjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 12:17:57 +0000 (12:17 +0000)
commit8889fb9978b33e4e4b5379b76c5acd97ea3079c6
tree661115bb8c244a89f6e110631ffffa482b623d88
parent33fa82afac082822a8dea9e89460d16d19cfbf29
Move bn_mul_add_words() and bn_mul_words() from bn_asm.c to bn_mul.c.

These are wrapped with #ifndef HAVE_BN_ADD_MUL_WORDS/HAVE_BN_MUL_WORDS,
which are defined for architectures that provide their own assembly
versions.
lib/libcrypto/bn/arch/amd64/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/arch/sparc/bn_arch.h
lib/libcrypto/bn/bn_asm.c
lib/libcrypto/bn/bn_mul.c