aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/block/lion/lion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/block/lion/lion.cpp')
-rw-r--r--src/lib/block/lion/lion.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/lib/block/lion/lion.cpp b/src/lib/block/lion/lion.cpp
index a487e3eb0..336828d89 100644
--- a/src/lib/block/lion/lion.cpp
+++ b/src/lib/block/lion/lion.cpp
@@ -5,15 +5,14 @@
* Botan is released under the Simplified BSD License (see license.txt)
*/
-#include <botan/internal/block_utils.h>
#include <botan/lion.h>
+#include <botan/lookup.h>
#include <botan/parsing.h>
+#include <botan/internal/xor_buf.h>
namespace Botan {
-namespace {
-
-Lion* make_lion(const BlockCipher::Spec& spec)
+Lion* Lion::make(const BlockCipher::Spec& spec)
{
if(spec.arg_count_between(2, 3))
{
@@ -29,10 +28,6 @@ Lion* make_lion(const BlockCipher::Spec& spec)
return nullptr;
}
-}
-
-BOTAN_REGISTER_NAMED_T(BlockCipher, "Lion", Lion, make_lion);
-
/*
* Lion Encryption
*/