Lines Matching refs:location
45 psa_key_location_t location; member
59 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION(lifetime); in psa_get_se_driver_entry() local
64 if (location == 0) { in psa_get_se_driver_entry()
68 if (driver_table[i].location == location) { in psa_get_se_driver_entry()
111 if (driver->location > PSA_MAX_SE_LOCATION) { in psa_get_se_driver_its_file_uid()
121 *uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + driver->location; in psa_get_se_driver_its_file_uid()
170 psa_status_t psa_destroy_se_persistent_data(psa_key_location_t location) in psa_destroy_se_persistent_data() argument
173 if (location > PSA_MAX_SE_LOCATION) { in psa_destroy_se_persistent_data()
176 uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + location; in psa_destroy_se_persistent_data()
191 if (driver->location != key_location) { in psa_find_se_slot_for_key()
264 if (driver->location == 0) { in psa_init_all_se_drivers()
272 driver->location); in psa_init_all_se_drivers()
292 psa_key_location_t location, in psa_register_se_driver() argument
306 if (location == PSA_KEY_LOCATION_LOCAL_STORAGE) { in psa_register_se_driver()
309 if (location > PSA_MAX_SE_LOCATION) { in psa_register_se_driver()
314 if (driver_table[i].location == 0) { in psa_register_se_driver()
320 if (driver_table[i].location == location) { in psa_register_se_driver()
328 driver_table[i].location = location; in psa_register_se_driver()