summaryrefslogtreecommitdiff
path: root/sha2.h
diff options
context:
space:
mode:
Diffstat (limited to 'sha2.h')
-rw-r--r--sha2.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sha2.h b/sha2.h
index 3a0b449a..f095dad1 100644
--- a/sha2.h
+++ b/sha2.h
@@ -55,7 +55,7 @@ extern "C" {
struct sha256_ctx
{
uint32_t state[_SHA256_DIGEST_LENGTH]; /* State variables */
- uint32_t count_low, count_high; /* 64-bit block count */
+ uint64_t count; /* 64-bit block count */
uint8_t block[SHA256_DATA_SIZE]; /* SHA256 data buffer */
unsigned int index; /* index into buffer */
};