Lines Matching refs:key_slices
185 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()
514 if (global_data.key_slices[slice_idx] == NULL) { in psa_allocate_volatile_key_slot()
515 global_data.key_slices[slice_idx] = in psa_allocate_volatile_key_slot()
518 if (global_data.key_slices[slice_idx] == NULL) { in psa_allocate_volatile_key_slot()
522 psa_key_slot_t *slice = global_data.key_slices[slice_idx]; in psa_allocate_volatile_key_slot()
568 psa_key_slot_t *slice = global_data.key_slices[slice_idx]; in psa_free_key_slot()
1097 if (global_data.key_slices[slice_idx] == NULL) { in mbedtls_psa_get_stats()