Use MBEDTLS_PRIVATE

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-06-07 17:08:19 +01:00
parent cf4d2bdc09
commit a35551ef01

View file

@ -60,10 +60,10 @@ typedef enum {
* The structure is used SHA-3 checksum calculations.
*/
typedef struct {
uint64_t state[25];
uint32_t index;
uint16_t olen;
uint16_t max_block_size;
uint64_t MBEDTLS_PRIVATE(state[25]);
uint32_t MBEDTLS_PRIVATE(index);
uint16_t MBEDTLS_PRIVATE(olen);
uint16_t MBEDTLS_PRIVATE(max_block_size);
}
mbedtls_sha3_context;