Improve RSA test coverage.
authorDavid Benjamin <davidben@google.com>
Mon, 7 Nov 2016 00:12:47 +0000 (19:12 -0500)
committerKurt Roeckx <kurt@roeckx.be>
Mon, 7 Nov 2016 20:05:09 +0000 (21:05 +0100)
commitf320555735af7aa52172a2b8c56181445e8490dd
tree24f05ed950c99e0667b2241b3812c4a36bf29008
parentaa90ca11c930114d5c0d68a2c1f446bf97853287
Improve RSA test coverage.

MD5/SHA1 and MDC-2 have special-case logic beyond the generic DigestInfo
wrapping. Test that each of these works, including hash and length
mismatches (both input and signature). Also add VerifyRecover tests. It
appears 5824cc298174d462c827cd090675e30fc03f0caf added support for
VerifyRecover, but forgot to add the test data.

Reviewed-by: Kurt Roeckx <kurt@roeckx.be>
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #1474
test/evptests.txt