Fix aliasing of result with exponent or modulus in BN_mod_exp_simple()
authortb <tb@openbsd.org>
Thu, 19 Oct 2023 10:17:52 +0000 (10:17 +0000)
committertb <tb@openbsd.org>
Thu, 19 Oct 2023 10:17:52 +0000 (10:17 +0000)
commit17c05c75006e91251b0237331afe471b09f0553f
tree01ec700c65df3f5419c3a11e5ee9f3269242a448
parent7849ca552af00db23c05255e48c0ebbac95def32
Fix aliasing of result with exponent or modulus in BN_mod_exp_simple()

Reported and reminded by Guido Vranken in OpenSSL issue #21110

ok jsing
lib/libcrypto/bn/bn_exp.c