Remove retry loop in BN_BLINDING_setup()
authortb <tb@openbsd.org>
Wed, 9 Aug 2023 08:35:59 +0000 (08:35 +0000)
committertb <tb@openbsd.org>
Wed, 9 Aug 2023 08:35:59 +0000 (08:35 +0000)
commit6cdee16f62867686db9a168c7a0532f63c1cbf0c
tree3503c2537c46734dda806761b764013d1f802389
parent67c0f68ce4fed348f81231b7523222c68fea5503
Remove retry loop in BN_BLINDING_setup()

If we generate a non-invertible blinding, we have accidentally factored
the modulus. This won't happen, so get rid of this ugly complication.

ok jsing
lib/libcrypto/bn/bn_blind.c