summaryrefslogtreecommitdiff
path: root/validat5.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2021-04-16 03:23:15 -0400
committerGitHub <noreply@github.com>2021-04-16 03:23:15 -0400
commit11eee26d76f4c6e8c7f0639187eb68e66bd7d8d4 (patch)
tree41631fe62b30885dd3bbe6b0672adec3aeefcffc /validat5.cpp
parentbb3776e0ee6eef63c67428659e0b287cc207da80 (diff)
downloadcryptopp-git-11eee26d76f4c6e8c7f0639187eb68e66bd7d8d4.tar.gz
Add LSH-256 and LSH-512 hash functions (GH #1025, PR #1026)
Add South Korea's LSH-256 and LSH-512 families of hash functions.
Diffstat (limited to 'validat5.cpp')
-rw-r--r--validat5.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/validat5.cpp b/validat5.cpp
index 5dc56ed6..a35b9562 100644
--- a/validat5.cpp
+++ b/validat5.cpp
@@ -28,6 +28,7 @@
#include "siphash.h"
#include "poly1305.h"
#include "whrlpool.h"
+#include "lsh.h"
#include "pssr.h"
#include "hkdf.h"
@@ -514,14 +515,22 @@ bool ValidateHAVAL()
bool ValidatePanama()
{
+ std::cout << "\nPanama validation suite running...\n";
return RunTestDataFile("TestVectors/panama.txt");
}
bool ValidateWhirlpool()
{
+ std::cout << "\nWhirlpool validation suite running...\n";
return RunTestDataFile("TestVectors/whrlpool.txt");
}
+bool ValidateLSH()
+{
+ std::cout << "\nLSH validation suite running...\n";
+ return RunTestDataFile("TestVectors/lsh.txt");
+}
+
#ifdef CRYPTOPP_REMOVED
bool ValidateMD5MAC()
{