Joachim Strömbergson joachim@secworks.se writes:
Good point. I'll add those and file new patches. Probably today.
I've pushed the first set of patches (to the master branch) now.
const struct nettle_hash nettle_sha512_224; const struct nettle_hash nettle_sha512_256;
Or, since all variants are implemented in the same sha512.c source file anyway, maybe these objects could be placed together in sha384-meta.c.
A little bit confusing having them in SHA-384. But something one should be able to live with.
Feel free to put them in separate files.
I'll do some hacking on this and the docs.
I look forward to that. Of the missing things, test cases are most important, I think.
Regards, /Niels