Use faster type for state index

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-05-29 22:05:50 +01:00 committed by Dave Rodgman
parent 1789d84282
commit e627bef2f8

View File

@ -70,7 +70,7 @@ mbedtls_sha3_family_functions;
*/
typedef struct mbedtls_sha3_context {
uint64_t state[25];
uint8_t index;
uint32_t index;
uint16_t olen;
uint16_t max_block_size;
}