From fe4119c74b5e81a354a5313e4d2efbf9a135aa81 Mon Sep 17 00:00:00 2001 From: lloyd Date: Wed, 13 Oct 2010 01:34:15 +0000 Subject: Use size_t rather than u32bit in SymmetricAlgorithm --- src/block/cascade/cascade.cpp | 2 +- src/block/cascade/cascade.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/block/cascade') diff --git a/src/block/cascade/cascade.cpp b/src/block/cascade/cascade.cpp index e93e81d33..54c33bc68 100644 --- a/src/block/cascade/cascade.cpp +++ b/src/block/cascade/cascade.cpp @@ -29,7 +29,7 @@ void Cascade_Cipher::decrypt_n(const byte in[], byte out[], cipher1->decrypt_n(out, out, c1_blocks); } -void Cascade_Cipher::key_schedule(const byte key[], u32bit) +void Cascade_Cipher::key_schedule(const byte key[], size_t) { const byte* key2 = key + cipher1->MAXIMUM_KEYLENGTH; diff --git a/src/block/cascade/cascade.h b/src/block/cascade/cascade.h index 6e9d43cf7..5e1989cb6 100644 --- a/src/block/cascade/cascade.h +++ b/src/block/cascade/cascade.h @@ -34,7 +34,7 @@ class BOTAN_DLL Cascade_Cipher : public BlockCipher ~Cascade_Cipher(); private: - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); BlockCipher* cipher1; BlockCipher* cipher2; -- cgit v1.2.3