Add regress coverage for an issue with BN_mod_exp2_mont() reported
authortb <tb@openbsd.org>
Sun, 26 Mar 2023 18:46:23 +0000 (18:46 +0000)
committertb <tb@openbsd.org>
Sun, 26 Mar 2023 18:46:23 +0000 (18:46 +0000)
commit3baba9ac1deb28856d78037e3db9a93d731ac4fa
tree0b1f86ad3792f741689637dc39de55128638f831
parent3952b0e82fd2141c56d92ed11f25c0c27c1c9e22
Add regress coverage for an issue with BN_mod_exp2_mont() reported
by Guido Vranken in ossfuzz #55997. This test currently fails and
will be fixed momentarily.

This also checks sensible behavior with respect to zero exponents for
this functions.
regress/lib/libcrypto/bn/bn_mod_exp.c