tests: Add CAVP test vectors for byte-oriented SHA-1 and SHA-256
authorJouni Malinen <j@w1.fi>
Sun, 18 May 2014 16:47:59 +0000 (19:47 +0300)
committerJouni Malinen <j@w1.fi>
Sun, 18 May 2014 16:52:03 +0000 (19:52 +0300)
commite90d955f7ca55ffcb476db55f56aeddda99bb483
treee1beafe68ce9275c733274999c4768312d820b14
parentc4d370117b4502cef680ea51a17ac66d47b64830
tests: Add CAVP test vectors for byte-oriented SHA-1 and SHA-256

This allows the SHA-1 implementation to be validated against the
SHA1ShortMsg.rsp and SHA1LongMsg.rsp test vectors from
http://csrc.nist.gov/groups/STM/cavp/documents/shs/shabytetestvectors.zip.
Similarly, the SHA-256 can be validated against the SHA256ShortMsg.rsp
and SHA256LongMsg.rsp.

Signed-off-by: Jouni Malinen <j@w1.fi>
tests/test-sha1.c
tests/test-sha256.c