aboutsummaryrefslogtreecommitdiffstats
path: root/src/block/square
diff options
context:
space:
mode:
authorlloyd <[email protected]>2010-10-13 01:34:15 +0000
committerlloyd <[email protected]>2010-10-13 01:34:15 +0000
commitfe4119c74b5e81a354a5313e4d2efbf9a135aa81 (patch)
tree5c5254cc3a4e5713169ef1d52a83db19c8c4ed65 /src/block/square
parent60fb91d8cb1710d07041f76050d24229ce91131b (diff)
Use size_t rather than u32bit in SymmetricAlgorithm
Diffstat (limited to 'src/block/square')
-rw-r--r--src/block/square/square.cpp2
-rw-r--r--src/block/square/square.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/block/square/square.cpp b/src/block/square/square.cpp
index 601d66c15..b1517b990 100644
--- a/src/block/square/square.cpp
+++ b/src/block/square/square.cpp
@@ -138,7 +138,7 @@ void Square::decrypt_n(const byte in[], byte out[], size_t blocks) const
/*
* Square Key Schedule
*/
-void Square::key_schedule(const byte key[], u32bit)
+void Square::key_schedule(const byte key[], size_t)
{
SecureVector<u32bit> XEK(36), XDK(36);
diff --git a/src/block/square/square.h b/src/block/square/square.h
index e3b07f24d..0a134bcb5 100644
--- a/src/block/square/square.h
+++ b/src/block/square/square.h
@@ -27,7 +27,7 @@ class BOTAN_DLL Square : public BlockCipher
Square() : BlockCipher(16, 16), EK(28), DK(28), ME(32), MD(32) {}
private:
- void key_schedule(const byte[], u32bit);
+ void key_schedule(const byte[], size_t);
static void transform(u32bit[4]);