Searched refs:KeyPerm (Results 1 – 7 of 7) sorted by relevance
/system/security/keystore2/src/ |
D | permission.rs | 195 KeyPerm from KeyPermission with default (NONE, none) { 366 type Item = KeyPerm; 376 return Some(KeyPerm::from(KeyPermission(p))); in next() 383 impl From<KeyPerm> for KeyPermSet { 384 fn from(p: KeyPerm) -> Self { in from() 425 type Item = KeyPerm; 468 if access_vec.includes(KeyPerm::grant()) { in check_grant_permission() 507 perm: KeyPerm, in check_key_permission() argument 564 KeyPerm::manage_blob().to_selinux(), in check_key_permission() 586 KeyPerm::manage_blob(), [all …]
|
D | service.rs | 21 use crate::permission::{KeyPerm, KeystorePerm}; 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()
|
D | maintenance.rs | 23 use crate::permission::{KeyPerm, KeystorePerm}; 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()
|
D | security_level.rs | 41 permission::KeyPerm, 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 …]
|
D | attestation_key_utils.rs | 21 use crate::permission::KeyPerm; 112 |k, av| check_key_permission(KeyPerm::use_(), k, &av), in load_attest_key_blob_and_cert()
|
D | utils.rs | 20 use crate::permission::{KeyPerm, KeyPermSet, KeystorePerm}; 74 perm: KeyPerm, in check_key_permission() argument
|
D | database.rs | 3221 use crate::permission::{KeyPerm, KeyPermSet}; 3708 const PVEC1: KeyPermSet = key_perm_set![KeyPerm::use_(), KeyPerm::get_info()]; in test_grant_ungrant() 3709 const PVEC2: KeyPermSet = key_perm_set![KeyPerm::use_()]; in test_grant_ungrant() 4185 key_perm_set![KeyPerm::use_()], in test_insert_and_load_full_keyentry_from_grant() 4195 assert!(av.unwrap().includes(KeyPerm::use_())); in test_insert_and_load_full_keyentry_from_grant() 4242 key_perm_set![KeyPerm::use_()], in test_insert_and_load_full_keyentry_from_grant_by_key_id() 4261 assert!(av.unwrap().includes(KeyPerm::use_())); in test_insert_and_load_full_keyentry_from_grant_by_key_id() 5682 key_perm_set![KeyPerm::use_()], in test_verify_grant_table_size_reporting()
|