diff options
author | lloyd <[email protected]> | 2010-10-12 23:29:55 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2010-10-12 23:29:55 +0000 |
commit | 2af9ba577730f071eef44b3ba492c3bfad0a8ec6 (patch) | |
tree | 92a4c4e973756225d42bb99a99110b2669be7299 /src/mac/hmac | |
parent | 97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff) |
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/mac/hmac')
-rw-r--r-- | src/mac/hmac/hmac.cpp | 2 | ||||
-rw-r--r-- | src/mac/hmac/hmac.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mac/hmac/hmac.cpp b/src/mac/hmac/hmac.cpp index 1ad9487b4..c842a944d 100644 --- a/src/mac/hmac/hmac.cpp +++ b/src/mac/hmac/hmac.cpp @@ -14,7 +14,7 @@ namespace Botan { /* * Update a HMAC Calculation */ -void HMAC::add_data(const byte input[], u32bit length) +void HMAC::add_data(const byte input[], size_t length) { hash->update(input, length); } diff --git a/src/mac/hmac/hmac.h b/src/mac/hmac/hmac.h index 43a5d22a4..3941baef9 100644 --- a/src/mac/hmac/hmac.h +++ b/src/mac/hmac/hmac.h @@ -29,7 +29,7 @@ class BOTAN_DLL HMAC : public MessageAuthenticationCode HMAC(HashFunction* hash); ~HMAC() { delete hash; } private: - void add_data(const byte[], u32bit); + void add_data(const byte[], size_t); void final_result(byte[]); void key_schedule(const byte[], u32bit); HashFunction* hash; |