Home
last modified time | relevance | path

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

/openthread-2.7.6/third_party/mbedtls/repo/library/
Dpsa_crypto_slot_management.c167 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()
Dpsa_crypto_slot_management.h146 if( slot->lock_count >= SIZE_MAX ) in psa_lock_key_slot()
149 slot->lock_count++; in psa_lock_key_slot()
Dpsa_crypto_core.h63 size_t lock_count; member
113 return( slot->lock_count > 0 ); in psa_is_key_slot_locked()
Dpsa_crypto.c1351 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()