Home
last modified time | relevance | path

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

/openthread-3.5.0/third_party/mbedtls/repo/library/
Dpsa_crypto_slot_management.h142 if( slot->lock_count >= SIZE_MAX ) in psa_lock_key_slot()
145 slot->lock_count++; in psa_lock_key_slot()
Dpsa_crypto_slot_management.c165 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()
Dpsa_crypto_core.h83 size_t lock_count; member
123 return( slot->lock_count > 0 ); in psa_is_key_slot_locked()
Dpsa_crypto.c1070 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()