Lines Matching refs:lifetime
961 if( psa_key_lifetime_is_external( (*p_slot)->attr.lifetime ) ) in psa_get_and_lock_transparent_key_slot_with_policy()
1053 if( PSA_KEY_LIFETIME_IS_READ_ONLY( slot->attr.lifetime ) ) in psa_destroy_key()
1065 driver = psa_get_se_driver_entry( slot->attr.lifetime ); in psa_destroy_key()
1074 psa_crypto_transaction.key.lifetime = slot->attr.lifetime; in psa_destroy_key()
1100 if( ! PSA_KEY_LIFETIME_IS_VOLATILE( slot->attr.lifetime ) ) in psa_destroy_key()
1197 if( psa_get_se_driver_entry( slot->attr.lifetime ) != NULL ) in psa_get_key_attributes()
1212 if( ! psa_key_lifetime_is_external( slot->attr.lifetime ) ) in psa_get_key_attributes()
1498 psa_key_lifetime_t lifetime = psa_get_key_lifetime( attributes ); in psa_validate_key_attributes() local
1501 status = psa_validate_key_location( lifetime, p_drv ); in psa_validate_key_attributes()
1505 status = psa_validate_key_persistence( lifetime ); in psa_validate_key_attributes()
1509 if ( PSA_KEY_LIFETIME_IS_VOLATILE( lifetime ) ) in psa_validate_key_attributes()
1599 if( PSA_KEY_LIFETIME_IS_VOLATILE( slot->attr.lifetime ) ) in psa_start_key_creation()
1641 if( ! PSA_KEY_LIFETIME_IS_VOLATILE( attributes->core.lifetime ) ) in psa_start_key_creation()
1644 psa_crypto_transaction.key.lifetime = slot->attr.lifetime; in psa_start_key_creation()
1709 if( ! PSA_KEY_LIFETIME_IS_VOLATILE( slot->attr.lifetime ) ) in psa_finish_key_creation()
1919 if( psa_key_lifetime_is_external( attributes->core.lifetime ) ) in psa_import_key()
2045 if( PSA_KEY_LIFETIME_GET_LOCATION( target_slot->attr.lifetime ) != in psa_copy_key()
2046 PSA_KEY_LIFETIME_GET_LOCATION( source_slot->attr.lifetime ) ) in psa_copy_key()
2064 if( psa_key_lifetime_is_external( actual_attributes.core.lifetime ) ) in psa_copy_key()
4727 if( psa_key_lifetime_is_external( attributes.core.lifetime ) ) in psa_generate_derived_key_internal()
5735 if ( PSA_KEY_LIFETIME_GET_LOCATION( attributes->core.lifetime ) == in psa_generate_key()