Add regress coverage for BN_mod_inverse()
authortb <tb@openbsd.org>
Sat, 3 Jun 2023 21:20:29 +0000 (21:20 +0000)
committertb <tb@openbsd.org>
Sat, 3 Jun 2023 21:20:29 +0000 (21:20 +0000)
commit99463a0c5d9e72f9077728c1db7e5b93311a717d
treedbc9b36ea555b8ecb782cfe67a82896074225814
parent77f90040a1c3827dda27c1396d073bf0e16b4854
Add regress coverage for BN_mod_inverse()

This would detect the aliasing issue reported by Guido Vranken fixed
in bn_gcd.c r1.28. Most testcases are from BoringSSL's regress test.
regress/lib/libcrypto/bn/Makefile
regress/lib/libcrypto/bn/bn_mod_inverse.c [new file with mode: 0644]