From c3048b3eea1e363c82b72f9e6b1e74b78ce1c6b4 Mon Sep 17 00:00:00 2001 From: Dave Rodgman Date: Mon, 29 May 2023 22:08:19 +0100 Subject: [PATCH] Tidy-up definition of mbedtls_sha3_context Signed-off-by: Dave Rodgman --- include/mbedtls/sha3.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/mbedtls/sha3.h b/include/mbedtls/sha3.h index 8eb026883..f596c2e59 100644 --- a/include/mbedtls/sha3.h +++ b/include/mbedtls/sha3.h @@ -54,14 +54,12 @@ typedef enum { MBEDTLS_SHA3_512, /*!< SHA3-512 */ } mbedtls_sha3_id; -struct mbedtls_sha3_context; - /** * \brief The SHA-3 context structure. * * The structure is used SHA-3 checksum calculations. */ -typedef struct mbedtls_sha3_context { +typedef struct { uint64_t state[25]; uint32_t index; uint16_t olen;