Searched refs:level_accessible (Results 1 – 3 of 3) sorted by relevance
/system/security/keystore2/src/ |
D | boot_level_keys.rs | 149 pub fn level_accessible(&self, boot_level: usize) -> bool { in level_accessible() method 159 if !self.level_accessible(boot_level) { in get_hkdf_key() 183 if !self.level_accessible(new_boot_level) { in advance_boot_level() 246 assert_eq!(true, blkc.level_accessible(0)); in test_output_is_consistent() 247 assert_eq!(true, blkc.level_accessible(9)); in test_output_is_consistent() 248 assert_eq!(true, blkc.level_accessible(10)); in test_output_is_consistent() 249 assert_eq!(true, blkc.level_accessible(100)); in test_output_is_consistent() 255 assert_eq!(false, blkc.level_accessible(0)); in test_output_is_consistent() 256 assert_eq!(true, blkc.level_accessible(9)); in test_output_is_consistent() 257 assert_eq!(true, blkc.level_accessible(10)); in test_output_is_consistent() [all …]
|
D | super_key.rs | 337 pub fn level_accessible(&self, boot_level: i32) -> bool { in level_accessible() method 343 .map_or(false, |c| c.level_accessible(boot_level as usize)) in level_accessible()
|
D | enforcements.rs | 609 if !SUPER_KEY.level_accessible(level) { in authorize_create()
|