summaryrefslogtreecommitdiff
path: root/serpent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'serpent.cpp')
-rw-r--r--serpent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/serpent.cpp b/serpent.cpp
index 4d8cd1d0..40fab23d 100644
--- a/serpent.cpp
+++ b/serpent.cpp
@@ -8,7 +8,7 @@
NAMESPACE_BEGIN(CryptoPP)
-void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, unsigned int keylen)
+void Serpent_KeySchedule(word32 *k, unsigned int rounds, const byte *userKey, size_t keylen)
{
FixedSizeSecBlock<word32, 8> k0;
GetUserKey(LITTLE_ENDIAN_ORDER, k0.begin(), 8, userKey, keylen);