aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/hash/keccak
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/keccak
parent7b56f1bd570dc684ffd7c945dee0d9b5480354ff (diff)
Use Algo_Registry also for hashes.
Diffstat (limited to 'src/lib/hash/keccak')
-rw-r--r--src/lib/hash/keccak/keccak.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/lib/hash/keccak/keccak.cpp b/src/lib/hash/keccak/keccak.cpp
index 67a8ed204..842b199a5 100644
--- a/src/lib/hash/keccak/keccak.cpp
+++ b/src/lib/hash/keccak/keccak.cpp
@@ -5,15 +5,16 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
+#include <botan/internal/hash_utils.h>
#include <botan/keccak.h>
-#include <botan/loadstor.h>
#include <botan/parsing.h>
#include <botan/exceptn.h>
-#include <botan/rotate.h>
#include <botan/internal/xor_buf.h>
namespace Botan {
+BOTAN_REGISTER_HASH_NAMED_1LEN(Keccak_1600, "Keccak-1600", 512);
+
namespace {
void keccak_f_1600(u64bit A[25])