Home
last modified time | relevance | path

Searched refs:key_slices (Results 1 – 1 of 1) sorted by relevance

/mbedtls-latest/library/
Dpsa_crypto_slot_management.c185 psa_key_slot_t *key_slices[KEY_SLICE_COUNT]; member
283 psa_key_slot_t *slice = global_data.key_slices[slice_idx]; in get_volatile_key_slot()
292 return &global_data.key_slices[KEY_SLOT_CACHE_SLICE_INDEX][slot_idx]; in get_persistent_key_slot()
297 return &global_data.key_slices[slice_idx][slot_idx]; in get_key_slot()
433 global_data.key_slices[KEY_SLOT_CACHE_SLICE_INDEX] = in psa_initialize_key_slots()
435 sizeof(*global_data.key_slices[KEY_SLOT_CACHE_SLICE_INDEX])); in psa_initialize_key_slots()
436 if (global_data.key_slices[KEY_SLOT_CACHE_SLICE_INDEX] == NULL) { in psa_initialize_key_slots()
455 if (global_data.key_slices[slice_idx] == NULL) { in psa_wipe_all_key_slots()
484 mbedtls_free(global_data.key_slices[slice_idx]); in psa_wipe_all_key_slots()
485 global_data.key_slices[slice_idx] = NULL; in psa_wipe_all_key_slots()
[all …]