Home
last modified time | relevance | path

Searched refs:boot_level (Results 1 – 9 of 9) sorted by relevance

/system/security/keystore2/src/
Dboot_level_keys.rs149 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()
Dsuper_key.rs129 } 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()
/system/security/ondevice-signing/
DKeystoreHmacKey.cpp107 KeyParameter boot_level; in createKey() local
108 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()
DKeystoreKey.cpp114 KeyParameter boot_level; in createKey() local
115 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()
/system/sepolicy/prebuilts/api/31.0/private/
Dinit.te101 # Only init can set keystore.boot_level
Dproperty_contexts1156 keystore.boot_level u:object_r:keystore_listen_prop:s0 exact int
/system/sepolicy/private/
Dinit.te101 # Only init can set keystore.boot_level
Dproperty_contexts1156 keystore.boot_level u:object_r:keystore_listen_prop:s0 exact int
/system/core/rootdir/
Dinit.rc652 setprop keystore.boot_level 30
916 setprop keystore.boot_level 1000000000