commit | e627bef2f88ebe08f0f894c8289392ae8c937013 | [log] [tgz] |
---|---|---|
author | Dave Rodgman <dave.rodgman@gmail.com> | Mon May 29 22:05:50 2023 +0100 |
committer | Dave Rodgman <dave.rodgman@arm.com> | Wed Jun 07 16:50:15 2023 +0100 |
tree | 8cd7f7c80d93a56e4f53feca087bdee5f30698c8 | |
parent | 1789d84282ac27136b00e30328f8a3f65c0edcf6 [diff] [blame] |
Use faster type for state index Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
diff --git a/include/mbedtls/sha3.h b/include/mbedtls/sha3.h index a153892..1fbcc7a 100644 --- a/include/mbedtls/sha3.h +++ b/include/mbedtls/sha3.h
@@ -70,7 +70,7 @@ */ typedef struct mbedtls_sha3_context { uint64_t state[25]; - uint8_t index; + uint32_t index; uint16_t olen; uint16_t max_block_size; }