Replace bn_sub_part_words() with bn_sub().
authorjsing <jsing@openbsd.org>
Wed, 22 Feb 2023 05:57:19 +0000 (05:57 +0000)
committerjsing <jsing@openbsd.org>
Wed, 22 Feb 2023 05:57:19 +0000 (05:57 +0000)
commita70818d06585c5e1fca0bc1a0fc46fdac46046e5
tree02fbd63a77d5c4e4df1f82c2892043019f514add
parente7144bbb7aac6d348256e7749fb872177fde8a8c
Replace bn_sub_part_words() with bn_sub().

Now that bn_sub() handles word arrays with potentially different lengths,
we no longer need bn_sub_part_words() - call bn_sub() instead. This allows
us to entirely remove the unnecessarily complex bn_sub_part_words() code.

ok tb@
lib/libcrypto/arch/i386/Makefile.inc
lib/libcrypto/bn/asm/bn-586.pl
lib/libcrypto/bn/bn_local.h
lib/libcrypto/bn/bn_mul.c