Move bn_add_words() and bn_sub_words from bn_asm.c to bn_add.c.
authorjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 10:31:03 +0000 (10:31 +0000)
committerjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 10:31:03 +0000 (10:31 +0000)
commit7069ede18dbe52fc34ffb8324c4326db3233d3f3
tree7c15b1afcedf8037d4a906cb1e5d9bd805dc5a2a
parent043ec3123ddc5d9b7dcac1a1e4ecba4540c5006c
Move bn_add_words() and bn_sub_words from bn_asm.c to bn_add.c.

These are wrapped with #ifndef HAVE_BN_ADD_WORDS/HAVE_BN_SUB_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_add.c
lib/libcrypto/bn/bn_asm.c