Searched refs:selected_slot (Results 1 – 1 of 1) sorted by relevance
178 psa_key_slot_t *selected_slot, *unlocked_persistent_key_slot; in psa_get_empty_key_slot() local186 selected_slot = unlocked_persistent_key_slot = NULL; in psa_get_empty_key_slot()192 selected_slot = slot; in psa_get_empty_key_slot()209 if( ( selected_slot == NULL ) && in psa_get_empty_key_slot()212 selected_slot = unlocked_persistent_key_slot; in psa_get_empty_key_slot()213 selected_slot->lock_count = 1; in psa_get_empty_key_slot()214 psa_wipe_key_slot( selected_slot ); in psa_get_empty_key_slot()217 if( selected_slot != NULL ) in psa_get_empty_key_slot()219 status = psa_lock_key_slot( selected_slot ); in psa_get_empty_key_slot()224 ( (psa_key_id_t)( selected_slot - global_data.key_slots ) ); in psa_get_empty_key_slot()[all …]