summaryrefslogtreecommitdiff
path: root/md5.h
diff options
context:
space:
mode:
authorNiels Möller <nisse@lysator.liu.se>2013-09-28 09:43:12 +0200
committerNiels Möller <nisse@lysator.liu.se>2013-09-28 09:44:22 +0200
commitcb83bd331e5774027bcab965ccf9bcbe798ad167 (patch)
tree3bbf1e2ee88e1ff1a27c877bd6cd21dc65f1d4a6 /md5.h
parent89755c916c84f722f081b5d53e8472d963cfbfe4 (diff)
downloadnettle-cb83bd331e5774027bcab965ccf9bcbe798ad167.tar.gz
Made hash functions use an uint64_t for the block count.
Diffstat (limited to 'md5.h')
-rw-r--r--md5.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/md5.h b/md5.h
index 2899cdfc..40932900 100644
--- a/md5.h
+++ b/md5.h
@@ -46,7 +46,7 @@ extern "C" {
struct md5_ctx
{
uint32_t state[_MD5_DIGEST_LENGTH];
- uint32_t count_low, count_high; /* Block count */
+ uint64_t count; /* Block count */
uint8_t block[MD5_DATA_SIZE]; /* Block buffer */
unsigned index; /* Into buffer */
};