Add nettle_streebog256 and nettle_streebog512 to nettle meta interface.
Signed-off-by: Dmitry Baryshkov <dbaryshkov(a)gmail.com>
---
nettle-meta-hashes.c | 2 ++
nettle-meta.h | 2 ++
testsuite/meta-hash-test.c | 2 ++
3 files changed, 6 insertions(+)
diff --git a/nettle-meta-hashes.c b/nettle-meta-hashes.c
index 27b576cdc58c..8e96dd414d23 100644
--- a/nettle-meta-hashes.c
+++ b/nettle-meta-hashes.c
@@ -53,6 +53,8 @@ const struct nettle_hash * const _nettle_hashes[] = {
&nettle_sha3_256,
&nettle_sha3_384,
&nettle_sha3_512,
+ &nettle_streebog256,
+ &nettle_streebog512,
NULL
};
diff --git a/nettle-meta.h b/nettle-meta.h
index cbcb1e5d5ffb..6a62b653efa6 100644
--- a/nettle-meta.h
+++ b/nettle-meta.h
@@ -143,6 +143,8 @@ extern const struct nettle_hash nettle_sha3_224;
extern const struct nettle_hash nettle_sha3_256;
extern const struct nettle_hash nettle_sha3_384;
extern const struct nettle_hash nettle_sha3_512;
+extern const struct nettle_hash nettle_streebog256;
+extern const struct nettle_hash nettle_streebog512;
struct nettle_mac
{
diff --git a/testsuite/meta-hash-test.c b/testsuite/meta-hash-test.c
index 7d863a7c386d..eb9f3698e353 100644
--- a/testsuite/meta-hash-test.c
+++ b/testsuite/meta-hash-test.c
@@ -20,6 +20,8 @@ const char* hashes[] = {
"sha3_256",
"sha3_384",
"sha3_512",
+ "streebog256",
+ "streebog512"
};
void
--
2.26.2