Provide big number primitives for word addition/multiplication.
authorjsing <jsing@openbsd.org>
Tue, 14 Feb 2023 18:31:02 +0000 (18:31 +0000)
committerjsing <jsing@openbsd.org>
Tue, 14 Feb 2023 18:31:02 +0000 (18:31 +0000)
commit27142ad25f84e935b75df0be9cf66d0e04ee6f82
tree84fdd7c7c9eafa74cdbf7950237c9bf5f77b612f
parent957e96d32200b8d7cb0a34732236b6b72342e064
Provide big number primitives for word addition/multiplication.

These use a consistent naming scheme and are implemented using
bitwise/constant time style operations, which should generally be safe on
all platforms (until a compiler decides to optimise and use branches).

More optimised versions can be provided for a given architecture.

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