From cb83bd331e5774027bcab965ccf9bcbe798ad167 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niels=20M=C3=B6ller?= Date: Sat, 28 Sep 2013 09:43:12 +0200 Subject: Made hash functions use an uint64_t for the block count. --- md5.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'md5.h') 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 */ }; -- cgit v1.2.1