aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/lubyrack/lubyrack.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/lubyrack/lubyrack.h')
-rw-r--r--src/block/lubyrack/lubyrack.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/block/lubyrack/lubyrack.h b/src/block/lubyrack/lubyrack.h
index 4567215e1..0c267683a 100644
--- a/src/block/lubyrack/lubyrack.h
+++ b/src/block/lubyrack/lubyrack.h
@@ -22,6 +22,8 @@ class BOTAN_DLL LubyRackoff : 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 2 * hash->output_length(); }
+
void clear();
std::string name() const;
BlockCipher* clone() const;