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_32 | |
parent | 7b56f1bd570dc684ffd7c945dee0d9b5480354ff (diff) |
Use Algo_Registry also for hashes.
Diffstat (limited to 'src/lib/hash/sha2_32')
-rw-r--r-- | src/lib/hash/sha2_32/sha2_32.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/hash/sha2_32/sha2_32.cpp b/src/lib/hash/sha2_32/sha2_32.cpp index cfdb574d3..b06d485aa 100644 --- a/src/lib/hash/sha2_32/sha2_32.cpp +++ b/src/lib/hash/sha2_32/sha2_32.cpp @@ -6,12 +6,14 @@ * Botan is released under the Simplified BSD License (see license.txt) */ +#include <botan/internal/hash_utils.h> #include <botan/sha2_32.h> -#include <botan/loadstor.h> -#include <botan/rotate.h> namespace Botan { +BOTAN_REGISTER_HASH_NAMED_NOARGS(SHA_224, "SHA-224"); +BOTAN_REGISTER_HASH_NAMED_NOARGS(SHA_256, "SHA-256"); + namespace { namespace SHA2_32 { |