Rewrite the tests that various modular exponentiation functions
authortb <tb@openbsd.org>
Fri, 2 Dec 2022 17:33:38 +0000 (17:33 +0000)
committertb <tb@openbsd.org>
Fri, 2 Dec 2022 17:33:38 +0000 (17:33 +0000)
commit3bae117432401c3281e732a77a74ea274ac3586a
treeb179499568a48bfde3e177e493af3293bf8868fb
parentabcde9bc4201fd03dd5b1a03a374ae00b9297e11
Rewrite the tests that various modular exponentiation functions
compute a^0 = 0 (mod 1) for all a from scratch.
regress/lib/libcrypto/bn/bn_mod_exp.c
regress/lib/libcrypto/bn/bn_mod_exp_zero.c [new file with mode: 0644]