chiark / gitweb /
symm/t/sha...: Add official NIST HMAC test vectors.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 10 May 2017 19:53:27 +0000 (20:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Sun, 14 May 2017 13:58:41 +0000 (14:58 +0100)
commit0809b51f844db7d8bf532ac7f1e8c7c7a6f89fd1
treedc691a2ce179bb04c645b3768905bc049ac2e890
parent84924d420a1ae0012853fa1efe956a2196f4a76e
symm/t/sha...: Add official NIST HMAC test vectors.

I found some at last, annoyingly provided as PDF documents.
Unsurprisingly, the code passed first time.

Strange: the tests include two tests for the message `Sample message for
keylen=blocklen', exactly one of which has the key length equal to the
block length.  Whatevs.
symm/t/sha224
symm/t/sha256
symm/t/sha384
symm/t/sha512