diff options
author | Jeffrey Walton <noloader@gmail.com> | 2021-04-16 03:23:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 03:23:15 -0400 |
commit | 11eee26d76f4c6e8c7f0639187eb68e66bd7d8d4 (patch) | |
tree | 41631fe62b30885dd3bbe6b0672adec3aeefcffc /regtest1.cpp | |
parent | bb3776e0ee6eef63c67428659e0b287cc207da80 (diff) | |
download | cryptopp-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 'regtest1.cpp')
-rw-r--r-- | regtest1.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/regtest1.cpp b/regtest1.cpp index dc9b6324..4e71b68c 100644 --- a/regtest1.cpp +++ b/regtest1.cpp @@ -25,6 +25,7 @@ #include "ripemd.h"
#include "panama.h"
#include "whrlpool.h"
+#include "lsh.h"
#include "osrng.h"
#include "drbg.h"
@@ -115,6 +116,11 @@ void RegisterFactories1() RegisterDefaultFactoryFor<HashTransformation, SM3>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2s>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2b>();
+ RegisterDefaultFactoryFor<HashTransformation, LSH224>();
+ RegisterDefaultFactoryFor<HashTransformation, LSH256>();
+ RegisterDefaultFactoryFor<HashTransformation, LSH384>();
+ RegisterDefaultFactoryFor<HashTransformation, LSH512>();
+ RegisterDefaultFactoryFor<HashTransformation, LSH512_256>();
#ifdef BLOCKING_RNG_AVAILABLE
RegisterDefaultFactoryFor<RandomNumberGenerator, BlockingRng>();
|