diff options
author | lloyd <[email protected]> | 2010-10-13 02:45:00 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 02:45:00 +0000 |
commit | 63121e1e169616f724bf79b8aac1a2b4423c8904 (patch) | |
tree | 2375d5b5daaad8990b2cee951d137f2e7638e79b /src/block/lion | |
parent | 879d062c2b93e32362e338d1c6f9b1eda0f88493 (diff) |
Use output_length() instead of OUTPUT_LENGTH pseudo-property
Diffstat (limited to 'src/block/lion')
-rw-r--r-- | src/block/lion/lion.cpp | 6 |
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) |