Simplify bn_div_3_words().
authorjsing <jsing@openbsd.org>
Tue, 31 Jan 2023 06:08:23 +0000 (06:08 +0000)
committerjsing <jsing@openbsd.org>
Tue, 31 Jan 2023 06:08:23 +0000 (06:08 +0000)
commitae20c88fbd48fcb769fff18e96c8491d7d0ef0cc
treea2deb79a6bdf96cffcf6fcd100373e1f3b2cd185
parent872b6eb842235e22bfefc40415ca7a7e71e75d65
Simplify bn_div_3_words().

Make use of bn_umul_hilo() and remove the tangle of preprocessor directives
that implement different code paths depending on what defines exist.

ok tb@
lib/libcrypto/bn/bn_div.c