diff options
author | Jeffrey Walton <noloader@gmail.com> | 2017-11-23 23:19:09 -0500 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2017-11-23 23:19:09 -0500 |
commit | 5267723a4923464f677d22f73f97a9e975a187a9 (patch) | |
tree | 87322ddc7214bc854d85f73985de18181511c6e6 /regtest1.cpp | |
parent | 13652cf9bf8d0d15f4aacd7a3e0426c4b2e553f7 (diff) | |
download | cryptopp-git-5267723a4923464f677d22f73f97a9e975a187a9.tar.gz |
Add SM3 hash function (GH #541)
Diffstat (limited to 'regtest1.cpp')
-rw-r--r-- | regtest1.cpp | 3 |
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>();
|