summaryrefslogtreecommitdiff
path: root/serpent.cpp
diff options
context:
space:
mode:
authorweidai <weidai11@users.noreply.github.com>2007-05-04 15:36:15 +0000
committerweidai <weidai11@users.noreply.github.com>2007-05-04 15:36:15 +0000
commitb1be555667f2ed9aea1a64014d81d714bc0d402a (patch)
tree18e7445400f1aeae2e560825e45c973fb701de70 /serpent.cpp
parentc4365a387086a3fa7ac6ef80e24414f7b5eda13d (diff)
downloadcryptopp-git-b1be555667f2ed9aea1a64014d81d714bc0d402a.tar.gz
fix compile
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);