diff options
author | lloyd <[email protected]> | 2015-01-28 06:20:39 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2015-01-28 06:20:39 +0000 |
commit | 710229be83cdbc061949c61942896b5af9e134d8 (patch) | |
tree | 5a28c6d2cd456a5a686a332b7466ed9f326cc5f8 /src/lib/hash/sha2_64 | |
parent | 7b56f1bd570dc684ffd7c945dee0d9b5480354ff (diff) |
Use Algo_Registry also for hashes.
Diffstat (limited to 'src/lib/hash/sha2_64')
-rw-r--r-- | src/lib/hash/sha2_64/sha2_64.cpp | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/lib/hash/sha2_64/sha2_64.cpp b/src/lib/hash/sha2_64/sha2_64.cpp index 6f42974d6..733cf0f19 100644 --- a/src/lib/hash/sha2_64/sha2_64.cpp +++ b/src/lib/hash/sha2_64/sha2_64.cpp @@ -5,12 +5,15 @@ * Botan is released under the Simplified BSD License (see license.txt) */ +#include <botan/internal/hash_utils.h> #include <botan/sha2_64.h> -#include <botan/loadstor.h> -#include <botan/rotate.h> namespace Botan { +BOTAN_REGISTER_HASH_NAMED_NOARGS(SHA_384, "SHA-384"); +BOTAN_REGISTER_HASH_NAMED_NOARGS(SHA_512, "SHA-512"); +BOTAN_REGISTER_HASH_NAMED_NOARGS(SHA_512_256, "SHA-512-256"); + namespace { namespace SHA2_64 { |