Slightly rework bn_mulw_addtw().
authorjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 09:35:55 +0000 (09:35 +0000)
committerjsing <jsing@openbsd.org>
Tue, 7 Mar 2023 09:35:55 +0000 (09:35 +0000)
commit0d14184dcde1700fb9a3c644bd11fe5bd5acd347
tree73274015dd4e35f3c08eb1f88817c54dae13e98b
parentc11f785522f27114af2285067053266fdb327ba0
Slightly rework bn_mulw_addtw().

Call bn_mulw_addw() rather than doing bn_mulw() follow by bn_addw(). This
simplifies the code slightly, plus on some platforms bn_mulw_addw() can
be optimised (and bn_mulw_addtw() will then benefit from such an
optimisation).

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