aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/rc5/rc5.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/rc5/rc5.cpp')
-rw-r--r--src/block/rc5/rc5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/block/rc5/rc5.cpp b/src/block/rc5/rc5.cpp
index 3b288d328..519735967 100644
--- a/src/block/rc5/rc5.cpp
+++ b/src/block/rc5/rc5.cpp
@@ -76,7 +76,7 @@ void RC5::decrypt_n(const byte in[], byte out[], size_t blocks) const
/*
* RC5 Key Schedule
*/
-void RC5::key_schedule(const byte key[], u32bit length)
+void RC5::key_schedule(const byte key[], size_t length)
{
const size_t WORD_KEYLENGTH = (((length - 1) / 4) + 1);
const size_t MIX_ROUNDS = 3 * std::max(WORD_KEYLENGTH, S.size());