Tidy-up definition of mbedtls_sha3_context

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-05-29 22:08:19 +01:00 committed by Dave Rodgman
parent 9d7fa93e6c
commit c3048b3eea

View file

@ -54,14 +54,12 @@ typedef enum {
MBEDTLS_SHA3_512, /*!< SHA3-512 */ MBEDTLS_SHA3_512, /*!< SHA3-512 */
} mbedtls_sha3_id; } mbedtls_sha3_id;
struct mbedtls_sha3_context;
/** /**
* \brief The SHA-3 context structure. * \brief The SHA-3 context structure.
* *
* The structure is used SHA-3 checksum calculations. * The structure is used SHA-3 checksum calculations.
*/ */
typedef struct mbedtls_sha3_context { typedef struct {
uint64_t state[25]; uint64_t state[25];
uint32_t index; uint32_t index;
uint16_t olen; uint16_t olen;