Lines Matching refs:slot_idx
106 size_t slot_idx; in psa_get_and_lock_key_slot_in_memory() local
129 for( slot_idx = 0; slot_idx < MBEDTLS_PSA_KEY_SLOT_COUNT; slot_idx++ ) in psa_get_and_lock_key_slot_in_memory()
131 slot = &global_data.key_slots[ slot_idx ]; in psa_get_and_lock_key_slot_in_memory()
135 status = ( slot_idx < MBEDTLS_PSA_KEY_SLOT_COUNT ) ? in psa_get_and_lock_key_slot_in_memory()
160 size_t slot_idx; in psa_wipe_all_key_slots() local
162 for( slot_idx = 0; slot_idx < MBEDTLS_PSA_KEY_SLOT_COUNT; slot_idx++ ) in psa_wipe_all_key_slots()
164 psa_key_slot_t *slot = &global_data.key_slots[ slot_idx ]; in psa_wipe_all_key_slots()
175 size_t slot_idx; in psa_get_empty_key_slot() local
185 for( slot_idx = 0; slot_idx < MBEDTLS_PSA_KEY_SLOT_COUNT; slot_idx++ ) in psa_get_empty_key_slot()
187 psa_key_slot_t *slot = &global_data.key_slots[ slot_idx ]; in psa_get_empty_key_slot()
548 size_t slot_idx; in mbedtls_psa_get_stats() local
552 for( slot_idx = 0; slot_idx < MBEDTLS_PSA_KEY_SLOT_COUNT; slot_idx++ ) in mbedtls_psa_get_stats()
554 const psa_key_slot_t *slot = &global_data.key_slots[ slot_idx ]; in mbedtls_psa_get_stats()