Niels Möller nisse@lysator.liu.se writes:
Hi, I've got a bug report that sha512_224 and sha512_256 are missing in the list returned by nettle_get_hashes, and I'm about to add them.
But then there's a question of naming convention. Currently, the
extern const struct nettle_hash nettle_sha512_256;
includes a name field set to the string "sha512-256", which is somewhat inconsistent with, e.g., the struct nettle_sha3_256 which includes the name "sha3_256".
Should I just change this (patch below)?
I've decided to changing those names to use underscore.
Regards, /Niels