diff options
author | Jeffrey Walton <noloader@gmail.com> | 2016-04-17 03:06:28 -0400 |
---|---|---|
committer | Jeffrey Walton <noloader@gmail.com> | 2016-04-17 03:06:28 -0400 |
commit | 30c1af2858da32e82ea22f58d14d9c4857ea0df0 (patch) | |
tree | 97a1668ef26b5ccbfc9bd597bb20a4a93e7fa394 /regtest.cpp | |
parent | a11c9e7574b29049bb20991de3732b4acfe287cc (diff) | |
download | cryptopp-git-30c1af2858da32e82ea22f58d14d9c4857ea0df0.tar.gz |
Added BLAKE2 Cryptographic Hash and Message Authentication Code
Diffstat (limited to 'regtest.cpp')
-rw-r--r-- | regtest.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/regtest.cpp b/regtest.cpp index f8dd1b4f..b2375ef9 100644 --- a/regtest.cpp +++ b/regtest.cpp @@ -50,6 +50,7 @@ #include "crc.h"
#include "adler32.h"
#include "sha3.h"
+#include "blake2.h"
#include "hkdf.h"
// Aggressive stack checking with VS2005 SP1 and above.
@@ -157,6 +158,10 @@ void RegisterFactories() RegisterSymmetricCipherDefaultFactories<CTR_Mode<Blowfish> >();
RegisterSymmetricCipherDefaultFactories<ECB_Mode<SEED> >();
RegisterSymmetricCipherDefaultFactories<CTR_Mode<SEED> >();
+ RegisterDefaultFactoryFor<HashTransformation, BLAKE2s>();
+ RegisterDefaultFactoryFor<MessageAuthenticationCode, BLAKE2s>();
+ RegisterDefaultFactoryFor<HashTransformation, BLAKE2b>();
+ RegisterDefaultFactoryFor<MessageAuthenticationCode, BLAKE2b>();
RegisterDefaultFactoryFor<KeyDerivationFunction, HKDF<SHA1> >();
RegisterDefaultFactoryFor<KeyDerivationFunction, HKDF<SHA256> >();
RegisterDefaultFactoryFor<KeyDerivationFunction, HKDF<SHA512> >();
|