Simplify BN_BLINDING_invert()
authortb <tb@openbsd.org>
Wed, 9 Aug 2023 08:29:23 +0000 (08:29 +0000)
committertb <tb@openbsd.org>
Wed, 9 Aug 2023 08:29:23 +0000 (08:29 +0000)
commit77fb6647e2b212919ace3b60a033ceaf5966ea5a
treed84f949dbbbc2627a1436bd0b91f753830de593f
parent9d158e6d9bb5b7c7652c694056d856902c9e29b8
Simplify BN_BLINDING_invert()

If the blinding is non-NULL, Ai is set on it, so no need to check for
that. Also, we can get away with a single call to BN_mod_mul().

ok jsing
lib/libcrypto/bn/bn_blind.c