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.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/block/lion/lion.h b/src/block/lion/lion.h
index 9beb68ca6..d4eb9c327 100644
--- a/src/block/lion/lion.h
+++ b/src/block/lion/lion.h
@@ -28,6 +28,8 @@ class BOTAN_DLL Lion : public BlockCipher
void encrypt_n(const byte in[], byte out[], size_t blocks) const;
void decrypt_n(const byte in[], byte out[], size_t blocks) const;
+ size_t block_size() const { return BLOCK_SIZE; }
+
void clear();
std::string name() const;
BlockCipher* clone() const;
@@ -45,7 +47,7 @@ class BOTAN_DLL Lion : public BlockCipher
private:
void key_schedule(const byte[], size_t);
- const size_t LEFT_SIZE, RIGHT_SIZE;
+ const size_t BLOCK_SIZE, LEFT_SIZE, RIGHT_SIZE;
HashFunction* hash;
StreamCipher* cipher;