Tidy-up definition of mbedtls_sha3_context
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
parent
9d7fa93e6c
commit
c3048b3eea
1 changed files with 1 additions and 3 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue