Add a nicely licensed, table-driven test for SHA
authortb <tb@openbsd.org>
Thu, 1 Sep 2022 14:02:41 +0000 (14:02 +0000)
committertb <tb@openbsd.org>
Thu, 1 Sep 2022 14:02:41 +0000 (14:02 +0000)
commit55e6bb006c4feedf4443043c9ffb01bc7e2ec48a
tree728a4e6e4835976f03326145bc4cae0587a564d2
parent2567f30d9bd2f8d35b2153f6428406c5cfedb07e
Add a nicely licensed, table-driven test for SHA

This tests covers the NIST vectors for SHA-{1,224,256,384,256} and will
soon be able to replace the old SHA tests entirely.

From Joshua Sing <joshua () hypera ! dev>
regress/lib/libcrypto/sha/Makefile [new file with mode: 0644]
regress/lib/libcrypto/sha/sha_test.c [new file with mode: 0644]