Searched refs:selected_slot (Results 1 – 1 of 1) sorted by relevance
176 psa_key_slot_t *selected_slot, *unlocked_persistent_key_slot; in psa_get_empty_key_slot() local184 selected_slot = unlocked_persistent_key_slot = NULL; in psa_get_empty_key_slot()190 selected_slot = slot; in psa_get_empty_key_slot()207 if( ( selected_slot == NULL ) && in psa_get_empty_key_slot()210 selected_slot = unlocked_persistent_key_slot; in psa_get_empty_key_slot()211 selected_slot->lock_count = 1; in psa_get_empty_key_slot()212 psa_wipe_key_slot( selected_slot ); in psa_get_empty_key_slot()215 if( selected_slot != NULL ) in psa_get_empty_key_slot()217 status = psa_lock_key_slot( selected_slot ); in psa_get_empty_key_slot()222 ( (psa_key_id_t)( selected_slot - global_data.key_slots ) ); in psa_get_empty_key_slot()[all …]