aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/xtea
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/xtea')
-rw-r--r--src/block/xtea/xtea.cpp2
-rw-r--r--src/block/xtea/xtea.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/xtea/xtea.cpp b/src/block/xtea/xtea.cpp
index 7acad2b6b..597eedd07 100644
--- a/src/block/xtea/xtea.cpp
+++ b/src/block/xtea/xtea.cpp
@@ -121,7 +121,7 @@ void XTEA::decrypt_n(const byte in[], byte out[], size_t blocks) const
/*
* XTEA Key Schedule
*/
-void XTEA::key_schedule(const byte key[], u32bit)
+void XTEA::key_schedule(const byte key[], size_t)
{
SecureVector<u32bit> UK(4);
for(size_t i = 0; i != 4; ++i)
diff --git a/src/block/xtea/xtea.h b/src/block/xtea/xtea.h
index 6a843e21f..c870f588a 100644
--- a/src/block/xtea/xtea.h
+++ b/src/block/xtea/xtea.h
@@ -33,7 +33,7 @@ class BOTAN_DLL XTEA : public BlockCipher
const SecureVector<u32bit>& get_EK() const { return EK; }
private:
- void key_schedule(const byte[], u32bit);
+ void key_schedule(const byte[], size_t);
SecureVector<u32bit> EK;
};