Provide bn_ct_{eq,ne}_zero{,_mask}() inline functions.
authorjsing <jsing@openbsd.org>
Tue, 14 Feb 2023 17:58:26 +0000 (17:58 +0000)
committerjsing <jsing@openbsd.org>
Tue, 14 Feb 2023 17:58:26 +0000 (17:58 +0000)
commita936a3bf05d1775e2bfa62533db2e30fdb003bfb
treee15baa20af6c6cf78961483b1b3d3043d71829b5
parent786202c1cb4f445a6804cbf2c887b1464c08efbf
Provide bn_ct_{eq,ne}_zero{,_mask}() inline functions.

These will be used to test a BN_ULONG in cases where constant time style
behaviour is required.

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