On Tue, Aug 25, 2015 at 9:49 PM, Niels Möller nisse@lysator.liu.se wrote:
Nikos Mavrogiannopoulos n.mavrogiannopoulos@gmail.com writes:
The attached two patches update SHA3 to the final published version.
Committed and pushed now. Thanks! I reformatted the testsuite files, to get saner diffs to the previous version. I also added a define NETTLE_SHA3_FIPS202 to sha3.h.
I was wondering whether we should also add an HMAC API for SHA3. While it is easy to do a MAC from SHA-3 only HMAC is defined in FIPS202. Attached you'll find an initial patch, but unfortunately I could find no test vectors to verify.
regards, Nikos