Reimplement bn_add_words() and bn_sub_words() using bignum primitives.
authorjsing <jsing@openbsd.org>
Thu, 16 Feb 2023 04:42:20 +0000 (04:42 +0000)
committerjsing <jsing@openbsd.org>
Thu, 16 Feb 2023 04:42:20 +0000 (04:42 +0000)
commitee7498205ca9a9c113be85f42342dfd4565d0953
treef72134e9d727d4ded6ace68955b3a282b3c9729d
parent47565b742e7af3a7965ea58d06375098439da77b
Reimplement bn_add_words() and bn_sub_words() using bignum primitives.

This removes the effectively duplicate BN_LLONG version of bn_add_words()
and simplifies the code considerably.

ok tb@
lib/libcrypto/bn/bn_add.c
lib/libcrypto/bn/bn_internal.h