summaryrefslogtreecommitdiff
path: root/regtest1.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2019-02-12 19:51:37 -0500
committerGitHub <noreply@github.com>2019-02-12 19:51:37 -0500
commitc6e8a61b8b7dac8ac33bf12a4b9a0b510232da83 (patch)
treee17f8e69cefe48982a36f44e7c062b894e23ad9a /regtest1.cpp
parente499131ea6ba23ce57f6a7e50d0c2ff3fb8eff62 (diff)
downloadcryptopp-git-c6e8a61b8b7dac8ac33bf12a4b9a0b510232da83.tar.gz
Add SHAKE-128 and SHAKE-256 (GH #805, PR #806)
Diffstat (limited to 'regtest1.cpp')
-rw-r--r--regtest1.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/regtest1.cpp b/regtest1.cpp
index 848ad885..caefc2c9 100644
--- a/regtest1.cpp
+++ b/regtest1.cpp
@@ -15,6 +15,7 @@
#include "md5.h"
#include "keccak.h"
#include "sha3.h"
+#include "shake.h"
#include "blake2.h"
#include "sha.h"
#include "sha3.h"
@@ -109,6 +110,8 @@ void RegisterFactories1()
RegisterDefaultFactoryFor<HashTransformation, SHA3_256>();
RegisterDefaultFactoryFor<HashTransformation, SHA3_384>();
RegisterDefaultFactoryFor<HashTransformation, SHA3_512>();
+ RegisterDefaultFactoryFor<HashTransformation, SHAKE128>();
+ RegisterDefaultFactoryFor<HashTransformation, SHAKE256>();
RegisterDefaultFactoryFor<HashTransformation, SM3>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2s>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2b>();