remove not-needed fields from SHA-3 context

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-05-29 22:05:19 +01:00 committed by Dave Rodgman
parent bcfd79c699
commit 1789d84282
2 changed files with 9 additions and 15 deletions

View file

@ -60,7 +60,6 @@ typedef struct mbedtls_sha3_family_functions {
uint16_t r;
uint16_t olen;
uint8_t xor_byte;
}
mbedtls_sha3_family_functions;
@ -72,11 +71,7 @@ mbedtls_sha3_family_functions;
typedef struct mbedtls_sha3_context {
uint64_t state[25];
uint8_t index;
uint8_t id;
uint16_t r;
uint16_t olen;
uint8_t xor_byte;
uint16_t max_block_size;
}
mbedtls_sha3_context;