Reduce code-size to access key slots init flag

Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
This commit is contained in:
Dave Rodgman 2023-08-16 17:56:28 +01:00
parent 58c8b942d2
commit 164614af3d

View file

@ -38,7 +38,7 @@
typedef struct { typedef struct {
psa_key_slot_t key_slots[MBEDTLS_PSA_KEY_SLOT_COUNT]; psa_key_slot_t key_slots[MBEDTLS_PSA_KEY_SLOT_COUNT];
unsigned key_slots_initialized : 1; uint8_t key_slots_initialized;
} psa_global_data_t; } psa_global_data_t;
static psa_global_data_t global_data; static psa_global_data_t global_data;