]> git.ipfire.org Git - thirdparty/openssl.git/commit
Remove zero special-case in BN_mod_exp_mont.
authorDavid Benjamin <davidben@google.com>
Tue, 17 Jul 2018 17:20:28 +0000 (13:20 -0400)
committerDavid Benjamin <davidben@google.com>
Tue, 24 Jul 2018 15:48:48 +0000 (11:48 -0400)
commit61ac9fc5c44718bf61ab68328333cc158230d090
tree6c236e8f20840c8e3a5cda8f9f64d704524956ad
parent8937a4ed8ac3fd64be61e9ce7a16bccccf3d2273
Remove zero special-case in BN_mod_exp_mont.

A number intended to treat the base as secret should not be branching on
whether it is zero. Test-wise, this is covered by existing tests in bnmod.txt.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/6733)
crypto/bn/bn_exp.c