commit 844ce9b37ecbdf30f9b6b552019a0799aebfcaec
parent 339e5a76f05192ae784ae024835db45fad54ca88
Author: vaplv <vaplv@free.fr>
Date: Wed, 7 Sep 2022 15:44:05 +0200
Minor adjustment of the sha256 calculation
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/hash.c b/src/hash.c
@@ -47,7 +47,7 @@ static const uint32_t k[64] = {
static void
sha256_process_chunk(struct sha256_ctx* ctx, const char chunk[64])
{
- uint32_t w[64];
+ uint32_t w[16];
uint32_t a, b, c, d, e, f, g, h;
uint32_t i;