Reimplement a variant of the bn_mod_exp tests from scratch
authortb <tb@openbsd.org>
Sat, 18 Mar 2023 08:55:42 +0000 (08:55 +0000)
committertb <tb@openbsd.org>
Sat, 18 Mar 2023 08:55:42 +0000 (08:55 +0000)
commitb1a3478463f10eef9803064d1626326ba8e2a52d
tree6df88ed4cbc1374dc15e9350fcb888e402cc2283
parent19a92ca5b3ca1b7910334b3f35eb2f67f6be41fe
Reimplement a variant of the bn_mod_exp tests from scratch

This exercises the same corner cases as bn_mod_exp and a few more.
With input from jsing
regress/lib/libcrypto/bn/bn_mod_exp_zero.c