summaryrefslogtreecommitdiff
path: root/tests/unit/core/test-core-secure.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/core/test-core-secure.cpp')
-rw-r--r--tests/unit/core/test-core-secure.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/unit/core/test-core-secure.cpp b/tests/unit/core/test-core-secure.cpp
index 2fe178b44..1ae802fe9 100644
--- a/tests/unit/core/test-core-secure.cpp
+++ b/tests/unit/core/test-core-secure.cpp
@@ -120,6 +120,9 @@ TEST(CoreSecure, Hash)
WEE_CHECK_HASH_BIN(NULL, "test", 0, 0);
WEE_CHECK_HASH_HEX(NULL, "test", 0, 0);
+ WEE_CHECK_HASH_BIN(DATA_HASH_CRC32, data, length, GCRY_MD_CRC32);
+ WEE_CHECK_HASH_HEX(DATA_HASH_CRC32, data, length, GCRY_MD_CRC32);
+
WEE_CHECK_HASH_BIN(DATA_HASH_MD5, data, length, GCRY_MD_MD5);
WEE_CHECK_HASH_HEX(DATA_HASH_MD5, data, length, GCRY_MD_MD5);