diff options
author | lloyd <[email protected]> | 2010-10-13 00:38:07 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-13 00:38:07 +0000 |
commit | c59d960db6d69bd9c479ec674768b7ec371830b5 (patch) | |
tree | 250385bd1c9c5b4a2afac27cc47d10031965f84b /src/stream/wid_wake/wid_wake.h | |
parent | 2e42b5aaaf8d817f612518afa91a5bc9d1465eb7 (diff) |
s/u32bit/size_t/ in stream
Diffstat (limited to 'src/stream/wid_wake/wid_wake.h')
-rw-r--r-- | src/stream/wid_wake/wid_wake.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/stream/wid_wake/wid_wake.h b/src/stream/wid_wake/wid_wake.h index 88f5690bf..ac8d8e2d6 100644 --- a/src/stream/wid_wake/wid_wake.h +++ b/src/stream/wid_wake/wid_wake.h @@ -21,10 +21,10 @@ namespace Botan { class BOTAN_DLL WiderWake_41_BE : public StreamCipher { public: - void cipher(const byte[], byte[], u32bit); - void set_iv(const byte[], u32bit); + void cipher(const byte[], byte[], size_t); + void set_iv(const byte[], size_t); - bool valid_iv_length(u32bit iv_len) const + bool valid_iv_length(size_t iv_len) const { return (iv_len == 8); } void clear(); @@ -39,13 +39,13 @@ class BOTAN_DLL WiderWake_41_BE : public StreamCipher private: void key_schedule(const byte[], u32bit); - void generate(u32bit); + void generate(size_t); SecureVector<u32bit> T; SecureVector<u32bit> state; SecureVector<u32bit> t_key; SecureVector<byte> buffer; - u32bit position; + size_t position; }; } |