Rename bn_umul_hilo() to bn_mulw().
authorjsing <jsing@openbsd.org>
Thu, 16 Feb 2023 10:41:03 +0000 (10:41 +0000)
committerjsing <jsing@openbsd.org>
Thu, 16 Feb 2023 10:41:03 +0000 (10:41 +0000)
commit82c46216ca9a164ad34bef5982826b8640035ae8
tree736b1aa2a346fb78fa7461b37c002919c944a34a
parentb72caa67fa2fc259f0ce267d40a01b63ce94acb7
Rename bn_umul_hilo() to bn_mulw().

This keeps the naming consistent with the other bignum primitives that have
been recently introduced. Also, use 1/0 intead of h/l (e.g. a1 instead of
ah), as this keeps consistency with other primitives and allows for naming
that works with double word, triple word and quadruple word inputs/outputs.

Discussed with tb@
lib/libcrypto/bn/arch/aarch64/bn_arch.h
lib/libcrypto/bn/arch/alpha/bn_arch.h
lib/libcrypto/bn/arch/amd64/bn_arch.h
lib/libcrypto/bn/arch/i386/bn_arch.h
lib/libcrypto/bn/arch/powerpc64/bn_arch.h
lib/libcrypto/bn/arch/riscv64/bn_arch.h
lib/libcrypto/bn/bn_div.c
lib/libcrypto/bn/bn_internal.h
lib/libcrypto/bn/bn_sqr.c