aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/lion/lion.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/lion/lion.cpp')
-rw-r--r--src/block/lion/lion.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/block/lion/lion.cpp b/src/block/lion/lion.cpp
index daf00da81..0b3e7762a 100644
--- a/src/block/lion/lion.cpp
+++ b/src/block/lion/lion.cpp
@@ -109,9 +109,9 @@ void Lion::clear()
* Lion Constructor
*/
Lion::Lion(HashFunction* hash_in, StreamCipher* sc_in, size_t block_len) :
- BlockCipher(std::max<size_t>(2*hash_in->OUTPUT_LENGTH + 1, block_len),
- 2, 2*hash_in->OUTPUT_LENGTH, 2),
- LEFT_SIZE(hash_in->OUTPUT_LENGTH),
+ BlockCipher(std::max<size_t>(2*hash_in->output_length() + 1, block_len),
+ 2, 2*hash_in->output_length(), 2),
+ LEFT_SIZE(hash_in->output_length()),
RIGHT_SIZE(BLOCK_SIZE - LEFT_SIZE),
hash(hash_in),
cipher(sc_in)