Searched refs:lock_count (Results 1 – 4 of 4) sorted by relevance
142 if( slot->lock_count >= SIZE_MAX ) in psa_lock_key_slot()145 slot->lock_count++; in psa_lock_key_slot()
165 slot->lock_count = 1; in psa_wipe_all_key_slots()211 selected_slot->lock_count = 1; in psa_get_empty_key_slot()409 if( slot->lock_count > 0 ) in psa_unlock_key_slot()411 slot->lock_count--; in psa_unlock_key_slot()423 MBEDTLS_PARAM_FAILED( slot->lock_count > 0 ); in psa_unlock_key_slot()526 if( slot->lock_count <= 1 ) in psa_close_key()542 ( slot->lock_count <= 1 ) ) in psa_purge_key()
83 size_t lock_count; member123 return( slot->lock_count > 0 ); in psa_is_key_slot_locked()
1070 if( slot->lock_count != 1 ) in psa_wipe_key_slot()1073 MBEDTLS_PARAM_FAILED( slot->lock_count == 1 ); in psa_wipe_key_slot()1120 if( slot->lock_count > 1 ) in psa_destroy_key()