Lines Matching refs:lifetime
1175 if (psa_key_lifetime_is_external((*p_slot)->attr.lifetime)) { in psa_get_and_lock_transparent_key_slot_with_policy()
1336 if (PSA_KEY_LIFETIME_IS_READ_ONLY(slot->attr.lifetime)) { in psa_destroy_key()
1347 driver = psa_get_se_driver_entry(slot->attr.lifetime); in psa_destroy_key()
1355 psa_crypto_transaction.key.lifetime = slot->attr.lifetime; in psa_destroy_key()
1381 if (!PSA_KEY_LIFETIME_IS_VOLATILE(slot->attr.lifetime)) { in psa_destroy_key()
1443 if (psa_get_se_driver_entry(slot->attr.lifetime) != NULL) { in psa_get_key_attributes()
1709 psa_key_lifetime_t lifetime = psa_get_key_lifetime(attributes); in psa_validate_key_attributes() local
1712 status = psa_validate_key_location(lifetime, p_drv); in psa_validate_key_attributes()
1717 status = psa_validate_key_persistence(lifetime); in psa_validate_key_attributes()
1722 if (PSA_KEY_LIFETIME_IS_VOLATILE(lifetime)) { in psa_validate_key_attributes()
1794 int key_is_volatile = PSA_KEY_LIFETIME_IS_VOLATILE(attributes->lifetime); in psa_start_key_creation()
1856 if (!PSA_KEY_LIFETIME_IS_VOLATILE(attributes->lifetime)) { in psa_start_key_creation()
1858 psa_crypto_transaction.key.lifetime = slot->attr.lifetime; in psa_start_key_creation()
1929 if (!PSA_KEY_LIFETIME_IS_VOLATILE(slot->attr.lifetime)) { in psa_finish_key_creation()
2113 if (psa_key_lifetime_is_external(attributes->lifetime)) { in psa_import_key()
2258 if (PSA_KEY_LIFETIME_GET_LOCATION(target_slot->attr.lifetime) != in psa_copy_key()
2259 PSA_KEY_LIFETIME_GET_LOCATION(source_slot->attr.lifetime)) { in psa_copy_key()
2276 if (psa_key_lifetime_is_external(actual_attributes.lifetime)) { in psa_copy_key()
6617 if (psa_key_lifetime_is_external(slot->attr.lifetime)) { in psa_generate_derived_key_internal()
8231 if (PSA_KEY_LIFETIME_GET_LOCATION(attributes->lifetime) == in psa_generate_key_custom()