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.cpp16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/lib/block/lion/lion.cpp b/src/lib/block/lion/lion.cpp
index 7ae620504..56aa55c2f 100644
--- a/src/lib/block/lion/lion.cpp
+++ b/src/lib/block/lion/lion.cpp
@@ -10,22 +10,6 @@
namespace Botan {
-Lion* Lion::make(const BlockCipher::Spec& spec)
- {
- if(spec.arg_count_between(2, 3))
- {
- std::unique_ptr<HashFunction> hash(HashFunction::create(spec.arg(0)));
- std::unique_ptr<StreamCipher> stream(StreamCipher::create(spec.arg(1)));
-
- if(hash && stream)
- {
- const size_t block_size = spec.arg_as_integer(2, 1024);
- return new Lion(hash.release(), stream.release(), block_size);
- }
- }
- return nullptr;
- }
-
/*
* Lion Encryption
*/