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/md5_ia32 | |
parent | 97e8d6086171772cd5e45bcf2f5b1ea1e38e6bf5 (diff) |
Use size_t for BufferedComputation::add_data
Diffstat (limited to 'src/hash/md5_ia32')
-rw-r--r-- | src/hash/md5_ia32/md5_ia32.cpp | 4 | ||||
-rw-r--r-- | src/hash/md5_ia32/md5_ia32.h | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/src/hash/md5_ia32/md5_ia32.cpp b/src/hash/md5_ia32/md5_ia32.cpp index affd0b8f7..66a18e6f5 100644 --- a/src/hash/md5_ia32/md5_ia32.cpp +++ b/src/hash/md5_ia32/md5_ia32.cpp @@ -19,9 +19,9 @@ void botan_md5_ia32_compress(u32bit[4], const byte[64], u32bit[16]); /* * MD5 Compression Function */ -void MD5_IA32::compress_n(const byte input[], u32bit blocks) +void MD5_IA32::compress_n(const byte input[], size_t blocks) { - for(u32bit i = 0; i != blocks; ++i) + for(size_t i = 0; i != blocks; ++i) { botan_md5_ia32_compress(digest, input, M); input += HASH_BLOCK_SIZE; diff --git a/src/hash/md5_ia32/md5_ia32.h b/src/hash/md5_ia32/md5_ia32.h index b65490760..bf4b4c505 100644 --- a/src/hash/md5_ia32/md5_ia32.h +++ b/src/hash/md5_ia32/md5_ia32.h @@ -20,7 +20,7 @@ class BOTAN_DLL MD5_IA32 : public MD5 public: HashFunction* clone() const { return new MD5_IA32; } private: - void compress_n(const byte[], u32bit blocks); + void compress_n(const byte[], size_t blocks); }; } |