diff options
author | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 01:34:15 +0000 |
commit | fe4119c74b5e81a354a5313e4d2efbf9a135aa81 (patch) | |
tree | 5c5254cc3a4e5713169ef1d52a83db19c8c4ed65 /src/stream/turing | |
parent | 60fb91d8cb1710d07041f76050d24229ce91131b (diff) |
Use size_t rather than u32bit in SymmetricAlgorithm
Diffstat (limited to 'src/stream/turing')
-rw-r--r-- | src/stream/turing/turing.cpp | 2 | ||||
-rw-r--r-- | src/stream/turing/turing.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/stream/turing/turing.cpp b/src/stream/turing/turing.cpp index 160d07a65..82e3aa2bb 100644 --- a/src/stream/turing/turing.cpp +++ b/src/stream/turing/turing.cpp @@ -223,7 +223,7 @@ u32bit Turing::fixedS(u32bit W) /* * Turing Key Schedule */ -void Turing::key_schedule(const byte key[], u32bit length) +void Turing::key_schedule(const byte key[], size_t length) { K.resize(length / 4); for(size_t i = 0; i != length; ++i) diff --git a/src/stream/turing/turing.h b/src/stream/turing/turing.h index f270c291a..adfabc0f1 100644 --- a/src/stream/turing/turing.h +++ b/src/stream/turing/turing.h @@ -34,7 +34,7 @@ class BOTAN_DLL Turing : public StreamCipher { position = 0; } private: - void key_schedule(const byte[], u32bit); + void key_schedule(const byte[], size_t); void generate(); static u32bit fixedS(u32bit); |