aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/sha2_64
diff options
context:
space:
mode:
authorlloyd <[email protected]>2015-01-28 06:20:39 +0000
committerlloyd <[email protected]>2015-01-28 06:20:39 +0000
commit710229be83cdbc061949c61942896b5af9e134d8 (patch)
tree5a28c6d2cd456a5a686a332b7466ed9f326cc5f8 /src/lib/hash/sha2_64
parent7b56f1bd570dc684ffd7c945dee0d9b5480354ff (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.cpp7
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 {