aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/lion/lion.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/lion/lion.h')
-rw-r--r--src/block/lion/lion.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/block/lion/lion.h b/src/block/lion/lion.h
index d4eb9c327..5076f4461 100644
--- a/src/block/lion/lion.h
+++ b/src/block/lion/lion.h
@@ -30,6 +30,11 @@ class BOTAN_DLL Lion : public BlockCipher
size_t block_size() const { return BLOCK_SIZE; }
+ Key_Length_Specification key_spec() const
+ {
+ return Key_Length_Specification(2, 2*hash->output_length(), 2);
+ }
+
void clear();
std::string name() const;
BlockCipher* clone() const;