Searched refs:boot_level (Results 1 – 9 of 9) sorted by relevance
149 pub fn level_accessible(&self, boot_level: usize) -> bool { in level_accessible()153 boot_level >= self.current && !self.cache.is_empty() in level_accessible()158 fn get_hkdf_key(&mut self, boot_level: usize) -> Result<Option<&ZVec>> { in get_hkdf_key()159 if !self.level_accessible(boot_level) { in get_hkdf_key()167 for _level in first_not_cached..=boot_level { in get_hkdf_key()177 Ok(Some(self.cache.get(boot_level - self.current).unwrap())) in get_hkdf_key()220 boot_level: usize, in expand_key()224 self.get_hkdf_key(boot_level) in expand_key()232 pub fn aes_key(&mut self, boot_level: usize) -> Result<Option<ZVec>> { in aes_key()233 self.expand_key(boot_level, AES_256_KEY_LENGTH, BootLevelKeyCache::HKDF_AES) in aes_key()
129 } else if let Some(boot_level) = metadata.max_boot_level() { in from_metadata()130 Some(SuperKeyIdentifier::BootLevel(*boot_level)) in from_metadata()337 pub fn level_accessible(&self, boot_level: i32) -> bool { in level_accessible()343 .map_or(false, |c| c.level_accessible(boot_level as usize)) in level_accessible()
107 KeyParameter boot_level; in createKey() local108 boot_level.tag = Tag::MAX_BOOT_LEVEL; in createKey()109 boot_level.value = KeyParameterValue::make<KeyParameterValue::integer>(kOdsignBootLevel); in createKey()110 params.push_back(boot_level); in createKey()
114 KeyParameter boot_level; in createKey() local115 boot_level.tag = Tag::MAX_BOOT_LEVEL; in createKey()116 boot_level.value = KeyParameterValue::make<KeyParameterValue::integer>(kOdsignBootLevel); in createKey()117 params.push_back(boot_level); in createKey()
101 # Only init can set keystore.boot_level
1156 keystore.boot_level u:object_r:keystore_listen_prop:s0 exact int
652 setprop keystore.boot_level 30916 setprop keystore.boot_level 1000000000