Home
last modified time | relevance | path

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

/optee_os/lib/libmbedtls/mbedtls/library/
H A Dpsa_crypto_slot_management.c97 #define KEY_SLOT_CACHE_SLICE_INDEX KEY_SLOT_VOLATILE_SLICE_COUNT macro
178 #define KEY_SLOT_CACHE_SLICE_INDEX 0 macro
261 if (slice_idx == KEY_SLOT_CACHE_SLICE_INDEX) { in key_slice_length()
292 return &global_data.key_slices[KEY_SLOT_CACHE_SLICE_INDEX][slot_idx]; in get_persistent_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()
559 if (slice_idx == KEY_SLOT_CACHE_SLICE_INDEX) { in psa_free_key_slot()
619 psa_key_slot_t *slot = get_key_slot(KEY_SLOT_CACHE_SLICE_INDEX, slot_idx); in psa_reserve_free_key_slot()
658 selected_slot->slice_index = KEY_SLOT_CACHE_SLICE_INDEX; in psa_reserve_free_key_slot()