Provide function implementations for various BN_* macros
authortb <tb@openbsd.org>
Sat, 4 Dec 2021 15:59:52 +0000 (15:59 +0000)
committertb <tb@openbsd.org>
Sat, 4 Dec 2021 15:59:52 +0000 (15:59 +0000)
commit6c6e991121d8be037bc8023536ae59c7e8176e09
tree78c1d902a15ca42ec233ae1fa7f68584dbbbc1ea
parentbc7751b74e4ef5eb713a2f47ad04c066c61efe9b
Provide function implementations for various BN_* macros

BN_abs_is_word, BN_is_{zero,one,word,odd}, BN_one, BN_zero_ex are
now implemented as functions for internal use. They will be exposed
publicly to replace the macros reaching into BIGNUM in the next bump.

ok inoguchi jsing
lib/libcrypto/bn/bn.h
lib/libcrypto/bn/bn_lib.c