Home
last modified time | relevance | path

Searched refs:check_key_permission (Results 1 – 6 of 6) sorted by relevance

/system/security/keystore2/src/
Dpermission.rs504 pub fn check_key_permission( in check_key_permission() function
743 assert_perm_failed!(check_key_permission( in check_key_permission_domain_grant()
751 check_key_permission( in check_key_permission_domain_grant()
768 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::use_(), &key, &None).is_ok()); in check_key_permission_domain_app()
769 … assert!(check_key_permission(0, &system_server_ctx, KeyPerm::delete(), &key, &None).is_ok()); in check_key_permission_domain_app()
771 check_key_permission(0, &system_server_ctx, KeyPerm::get_info(), &key, &None).is_ok() in check_key_permission_domain_app()
773 … assert!(check_key_permission(0, &system_server_ctx, KeyPerm::rebind(), &key, &None).is_ok()); in check_key_permission_domain_app()
774 … assert!(check_key_permission(0, &system_server_ctx, KeyPerm::update(), &key, &None).is_ok()); in check_key_permission_domain_app()
775 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::grant(), &key, &None).is_ok()); in check_key_permission_domain_app()
777 check_key_permission(0, &system_server_ctx, KeyPerm::use_dev_id(), &key, &None).is_ok() in check_key_permission_domain_app()
[all …]
Dservice.rs24 check_grant_permission, check_key_permission, check_keystore_permission,
143 |k, av| check_key_permission(KeyPerm::get_info(), k, &av), in get_key_entry()
195 check_key_permission(KeyPerm::update(), k, &av) in update_subcomponent()
241 check_key_permission(KeyPerm::rebind(), &key, &None) in update_subcomponent()
274 match check_key_permission(KeyPerm::get_info(), &k, &None) { in list_entries()
314 check_key_permission(KeyPerm::delete(), k, &av).context("During delete_key.") in delete_key()
346 check_key_permission(KeyPerm::grant(), k, &None) in ungrant()
Dmaintenance.rs25 use crate::utils::{check_key_permission, check_keystore_permission, watchdog as wd};
233 check_key_permission(KeyPerm::use_(), k, &av)?; in migrate_key_namespace()
234 check_key_permission(KeyPerm::delete(), k, &av)?; in migrate_key_namespace()
235 check_key_permission(KeyPerm::grant(), k, &av) in migrate_key_namespace()
251 check_key_permission(KeyPerm::rebind(), k, &None) in migrate_key_namespace()
Dsecurity_level.rs30 check_device_attestation_permissions, check_key_permission, is_device_id_attestation_tag,
219 check_key_permission(KeyPerm::use_(), key, &None) in create_operation()
222 check_key_permission(KeyPerm::req_forced_op(), key, &None).context( in create_operation()
251 check_key_permission(KeyPerm::use_(), k, &av)?; in create_operation()
253 check_key_permission(KeyPerm::req_forced_op(), k, &av)?; in create_operation()
418 check_key_permission(KeyPerm::gen_unique_id(), key, &None).context(concat!( in add_certificate_parameters()
490 check_key_permission(KeyPerm::rebind(), &key, &None).context("In generate_key.")?; in generate_key()
606 check_key_permission(KeyPerm::rebind(), &key, &None).context("In import_key.")?; in import_key()
691 check_key_permission(KeyPerm::rebind(), &key, &None).context("In import_wrapped_key.")?; in import_wrapped_key()
701 |k, av| check_key_permission(KeyPerm::use_(), k, &av), in import_wrapped_key()
[all …]
Dattestation_key_utils.rs23 use crate::utils::check_key_permission;
112 |k, av| check_key_permission(KeyPerm::use_(), k, &av), in load_attest_key_blob_and_cert()
Dutils.rs73 pub fn check_key_permission( in check_key_permission() function
79 permission::check_key_permission( in check_key_permission()