commit 255c45dd3bfe20b633585932f2acce80263822c8
parent 356187139c78ee5be253fe1c3cba932b210ec84e
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date: Sun, 16 May 2021 18:04:51 +0300
sha256: re-arranged struct members to have better alignment
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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 */
};
/**