Home
last modified time | relevance | path

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

/system/security/keystore2/src/
Dpermission.rs331 pub fn check_key_permission( in check_key_permission() function
562 assert_perm_failed!(check_key_permission( in check_key_permission_domain_grant()
570 check_key_permission( in check_key_permission_domain_grant()
587 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::Use, &key, &None).is_ok()); in check_key_permission_domain_app()
588 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::Delete, &key, &None).is_ok()); in check_key_permission_domain_app()
589 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::GetInfo, &key, &None).is_ok()); in check_key_permission_domain_app()
590 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::Rebind, &key, &None).is_ok()); in check_key_permission_domain_app()
591 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::Update, &key, &None).is_ok()); in check_key_permission_domain_app()
592 assert!(check_key_permission(0, &system_server_ctx, KeyPerm::Grant, &key, &None).is_ok()); in check_key_permission_domain_app()
593 … assert!(check_key_permission(0, &system_server_ctx, KeyPerm::UseDevId, &key, &None).is_ok()); in check_key_permission_domain_app()
[all …]
Dservice.rs25 check_grant_permission, check_key_permission, check_keystore_permission, count_key_entries,
142 |k, av| check_key_permission(KeyPerm::GetInfo, k, &av), in get_key_entry()
198 |k, av| check_key_permission(KeyPerm::Update, k, &av).context(ks_err!()), in update_subcomponent()
243 check_key_permission(KeyPerm::Rebind, &key, &None) in update_subcomponent()
282 if let Err(e) = check_key_permission(KeyPerm::GetInfo, &k, &None) { in get_key_descriptor_for_lookup()
330 check_key_permission(KeyPerm::Delete, k, &av) in delete_key()
368 check_key_permission(KeyPerm::Grant, k, &None) in ungrant()
Dmaintenance.rs27 check_get_app_uids_affected_by_sid_permissions, check_key_permission,
259 check_key_permission(KeyPerm::Use, k, &av)?; in migrate_key_namespace()
260 check_key_permission(KeyPerm::Delete, k, &av)?; in migrate_key_namespace()
261 check_key_permission(KeyPerm::Grant, k, &av) in migrate_key_namespace()
268 check_key_permission(KeyPerm::Rebind, k, &None) in migrate_key_namespace()
Dsecurity_level.rs35 check_device_attestation_permissions, check_key_permission,
232 check_key_permission(KeyPerm::Use, key, &None) in create_operation()
235 check_key_permission(KeyPerm::ReqForcedOp, key, &None) in create_operation()
267 check_key_permission(KeyPerm::Use, k, &av)?; in create_operation()
269 check_key_permission(KeyPerm::ReqForcedOp, k, &av)?; in create_operation()
461 if check_key_permission(KeyPerm::GenUniqueId, key, &None).is_err() in add_required_parameters()
537 check_key_permission(KeyPerm::Rebind, &key, &None).context(ks_err!())?; in generate_key()
657 check_key_permission(KeyPerm::Rebind, &key, &None).context(ks_err!("In import_key."))?; in import_key()
736 check_key_permission(KeyPerm::Rebind, &key, &None).context(ks_err!())?; in import_wrapped_key()
748 |k, av| check_key_permission(KeyPerm::Use, k, &av), in import_wrapped_key()
[all …]
Dattestation_key_utils.rs24 use crate::utils::check_key_permission;
111 |k, av| check_key_permission(KeyPerm::Use, k, &av), in load_attest_key_blob_and_cert()
Dutils.rs88 pub fn check_key_permission( in check_key_permission() function
94 permission::check_key_permission( in check_key_permission()