Searched refs:lock_count (Results 1 – 4 of 4) sorted by relevance
167 slot->lock_count = 1; in psa_wipe_all_key_slots()213 selected_slot->lock_count = 1; in psa_get_empty_key_slot()320 if( slot->lock_count > 0 ) in psa_unlock_key_slot()322 slot->lock_count--; in psa_unlock_key_slot()334 MBEDTLS_PARAM_FAILED( slot->lock_count > 0 ); in psa_unlock_key_slot()419 if( slot->lock_count <= 1 ) in psa_close_key()435 ( slot->lock_count <= 1 ) ) in psa_purge_key()
146 if( slot->lock_count >= SIZE_MAX ) in psa_lock_key_slot()149 slot->lock_count++; in psa_lock_key_slot()
63 size_t lock_count; member113 return( slot->lock_count > 0 ); in psa_is_key_slot_locked()
1351 if( slot->lock_count != 1 ) in psa_wipe_key_slot()1354 MBEDTLS_PARAM_FAILED( slot->lock_count == 1 ); in psa_wipe_key_slot()1401 if( slot->lock_count > 1 ) in psa_destroy_key()