Move bn_sqr_words from bn_asm.c to bn_sqr.c.
authorjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 12:09:06 +0000 (12:09 +0000)
committerjsing <jsing@openbsd.org>
Mon, 23 Jan 2023 12:09:06 +0000 (12:09 +0000)
commit33fa82afac082822a8dea9e89460d16d19cfbf29
treeb271bc0f5443e87ee35a8b413c610d6965a86e9a
parent2c5f73fa46dd4d5c09eaf03038764be3180f3194
Move bn_sqr_words from bn_asm.c to bn_sqr.c.

This is wrapped with #ifndef HAVE_BN_SQR_WORDS, which is then 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_sqr.c