#include "nettle-meta.h"
-#undef nettle_hashes
-
-const struct nettle_hash * const nettle_hashes[] = {
+const struct nettle_hash * const _nettle_hashes[] = {
+ &nettle_gosthash94,
+ &nettle_gosthash94cp,
&nettle_md2,
&nettle_md4,
&nettle_md5,
&nettle_sha256,
&nettle_sha384,
&nettle_sha512,
+ &nettle_sha512_224,
+ &nettle_sha512_256,
&nettle_sha3_224,
&nettle_sha3_256,
&nettle_sha3_384,
&nettle_sha3_512,
+ &nettle_streebog256,
+ &nettle_streebog512,
+ &nettle_sm3,
NULL
};
const struct nettle_hash * const *
nettle_get_hashes (void)
{
- return nettle_hashes;
+ return _nettle_hashes;
}