diff options
author | Niels Möller <nisse@lysator.liu.se> | 2018-10-10 19:44:32 +0200 |
---|---|---|
committer | Niels Möller <nisse@lysator.liu.se> | 2019-02-06 14:19:35 +0100 |
commit | d85e39b5da8fc60bb6055720a1ddeaa31951da02 (patch) | |
tree | e6b24fd532e0966ed5e9b29f2c0290b813e3ddb1 /gosthash94.h | |
parent | 3185ed4d0cd9e083a490402559f09c8d274a5ee6 (diff) | |
download | nettle-d85e39b5da8fc60bb6055720a1ddeaa31951da02.tar.gz |
Move block buffer last in hash context structs.
Diffstat (limited to 'gosthash94.h')
-rw-r--r-- | gosthash94.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gosthash94.h b/gosthash94.h index 8e9d49fe..60b2bef2 100644 --- a/gosthash94.h +++ b/gosthash94.h @@ -81,8 +81,8 @@ struct gosthash94_ctx { uint32_t hash[8]; /* algorithm 256-bit state */ uint32_t sum[8]; /* sum of processed message blocks */ - uint8_t message[GOSTHASH94_BLOCK_SIZE]; /* 256-bit buffer for leftovers */ uint64_t length; /* number of processed bytes */ + uint8_t message[GOSTHASH94_BLOCK_SIZE]; /* 256-bit buffer for leftovers */ }; void gosthash94_init(struct gosthash94_ctx *ctx); |