]> git.ipfire.org Git - thirdparty/openssl.git/commit
Set the 'tmp' flag BN_FLG_FIXED_TOP in bn_mod_exp_mont_fixed_top()
authorRichard Levitte <levitte@openssl.org>
Mon, 27 Oct 2025 19:47:44 +0000 (20:47 +0100)
committerTomas Mraz <tomas@openssl.org>
Tue, 4 Nov 2025 09:21:29 +0000 (10:21 +0100)
commit54681f6e5b689299bada4363adc2edc46a1d67b4
tree8dab12716e8083d7362bef517d22440f8e681856
parent46d0a210e2cce68adf638326bf7cd20e396a6a04
Set the 'tmp' flag BN_FLG_FIXED_TOP in bn_mod_exp_mont_fixed_top()

If not set, bn_check_top() trips when BN_DEBUG is defined

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/28801)
crypto/bn/bn_exp.c