From 255c45dd3bfe20b633585932f2acce80263822c8 Mon Sep 17 00:00:00 2001 From: "Evgeny Grin (Karlson2k)" Date: Sun, 16 May 2021 18:04:51 +0300 Subject: sha256: re-arranged struct members to have better alignment --- src/microhttpd/sha256.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/microhttpd/sha256.h b/src/microhttpd/sha256.h index 55962d72..8a158567 100644 --- a/src/microhttpd/sha256.h +++ b/src/microhttpd/sha256.h @@ -54,8 +54,8 @@ struct sha256_ctx { uint32_t H[_SHA256_DIGEST_LENGTH]; /**< Intermediate hash value / digest at end of calculation */ - uint64_t count; /**< number of bytes, mod 2^64 */ uint8_t buffer[SHA256_BLOCK_SIZE]; /**< SHA256 input data buffer */ + uint64_t count; /**< number of bytes, mod 2^64 */ }; /** -- cgit v1.2.3