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/hash/sha2_64/sha2_64.h | |
parent | 97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff) |
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/hash/sha2_64/sha2_64.h')
-rw-r--r-- | src/hash/sha2_64/sha2_64.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/hash/sha2_64/sha2_64.h b/src/hash/sha2_64/sha2_64.h index 726712221..59e2c4c83 100644 --- a/src/hash/sha2_64/sha2_64.h +++ b/src/hash/sha2_64/sha2_64.h @@ -25,7 +25,7 @@ class BOTAN_DLL SHA_384 : public MDx_HashFunction SHA_384() : MDx_HashFunction(48, 128, true, true, 16), W(80), digest(8) { clear(); } private: - void compress_n(const byte[], u32bit blocks); + void compress_n(const byte[], size_t blocks); void copy_out(byte[]); SecureVector<u64bit> W, digest; @@ -43,7 +43,7 @@ class BOTAN_DLL SHA_512 : public MDx_HashFunction SHA_512() : MDx_HashFunction(64, 128, true, true, 16), W(80), digest(8) { clear(); } private: - void compress_n(const byte[], u32bit blocks); + void compress_n(const byte[], size_t blocks); void copy_out(byte[]); SecureVector<u64bit> W, digest; |