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/seed/seed.cpp | 2 +- src/block/seed/seed.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/block/seed') diff --git a/src/block/seed/seed.cpp b/src/block/seed/seed.cpp index a253f27b8..408220013 100644 --- a/src/block/seed/seed.cpp +++ b/src/block/seed/seed.cpp @@ -102,7 +102,7 @@ void SEED::decrypt_n(const byte in[], byte out[], size_t blocks) const /* * SEED Key Schedule */ -void SEED::key_schedule(const byte key[], u32bit) +void SEED::key_schedule(const byte key[], size_t) { const u32bit RC[16] = { 0x9E3779B9, 0x3C6EF373, 0x78DDE6E6, 0xF1BBCDCC, diff --git a/src/block/seed/seed.h b/src/block/seed/seed.h index e2b0862ae..48fefc9b0 100644 --- a/src/block/seed/seed.h +++ b/src/block/seed/seed.h @@ -27,7 +27,7 @@ class BOTAN_DLL SEED : public BlockCipher SEED() : BlockCipher(16, 16), K(32) {} private: - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); class G_FUNC { -- cgit v1.2.3