Lines Matching refs:location
57 psa_key_location_t location;
71 psa_key_location_t location = PSA_KEY_LIFETIME_GET_LOCATION(lifetime);
72 /* In the driver table, location=0 means an entry that isn't used.
73 * No driver has a location of 0 because it's a reserved value
75 * a driver entry for location 0. */
76 if (location == 0) {
80 if (driver_table[i].location == location) {
123 if (driver->location > PSA_MAX_SE_LOCATION) {
133 *uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + driver->location;
182 psa_status_t psa_destroy_se_persistent_data(psa_key_location_t location)
185 if (location > PSA_MAX_SE_LOCATION) {
188 uid = PSA_CRYPTO_SE_DRIVER_ITS_UID_BASE + location;
202 /* If the location is wrong, it's a bug in the library. */
203 if (driver->location != key_location) {
276 if (driver->location == 0) {
284 driver->location);
304 psa_key_location_t location,
314 * location because it means a transparent key. */
318 if (location == PSA_KEY_LOCATION_LOCAL_STORAGE) {
321 if (location > PSA_MAX_SE_LOCATION) {
326 if (driver_table[i].location == 0) {
329 /* Check that location isn't already in use up to the first free
332 if (driver_table[i].location == location) {
340 driver_table[i].location = location;