summaryrefslogtreecommitdiff
path: root/regtest1.cpp
diff options
context:
space:
mode:
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 a8fdc9ef..3daa810e 100644
--- a/regtest1.cpp
+++ b/regtest1.cpp
@@ -16,6 +16,8 @@
#include "sha3.h"
#include "blake2.h"
#include "sha.h"
+#include "sha3.h"
+#include "sm3.h"
#include "tiger.h"
#include "ripemd.h"
#include "panama.h"
@@ -96,6 +98,7 @@ void RegisterFactories1()
RegisterDefaultFactoryFor<HashTransformation, SHA3_256>();
RegisterDefaultFactoryFor<HashTransformation, SHA3_384>();
RegisterDefaultFactoryFor<HashTransformation, SHA3_512>();
+ RegisterDefaultFactoryFor<HashTransformation, SM3>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2s>();
RegisterDefaultFactoryFor<HashTransformation, BLAKE2b>();