Home
last modified time | relevance | path

Searched refs:is_strongbox (Results 1 – 3 of 3) sorted by relevance

/system/security/keystore2/src/
Dshared_secret_negotiation.rs54 Hidl { is_strongbox: bool, version: (usize, usize) },
65 Self::Hidl { is_strongbox, version: (ma, mi) } => write!( in fmt()
72 if *is_strongbox { "strongbox" } else { "default" } in fmt()
93 "default" => Some(SharedSecretParticipant::Hidl { is_strongbox: false, version }), in filter_map_legacy_km_instances()
94 "strongbox" => Some(SharedSecretParticipant::Hidl { is_strongbox: true, version }), in filter_map_legacy_km_instances()
130 is_strongbox: true, in list_participants()
193 SharedSecretParticipant::Hidl { is_strongbox, version } => { in connect_participants()
207 if is_strongbox { in connect_participants()
219 if is_strongbox { "strongbox" } else { "TEE" }, in connect_participants()
223 .push(SharedSecretParticipant::Hidl { is_strongbox, version }); in connect_participants()
[all …]
Dlegacy_migrator.rs415 fn get_km_uuid(&self, is_strongbox: bool) -> Result<Uuid> { in get_km_uuid()
416 let sec_level = if is_strongbox { in get_km_uuid()
458 let is_strongbox = km_blob.is_strongbox(); in check_and_migrate() localVariable
513 .get_km_uuid(is_strongbox) in check_and_migrate()
660 .map(|(blob, _)| (blob.is_strongbox(), blob.take_value())) in bulk_delete()
662 Some((is_strongbox, BlobValue::Encrypted { iv, tag, data })) => { in bulk_delete()
665 (self.get_km_uuid(is_strongbox), super_key_id) in bulk_delete()
Dlegacy_blob.rs191 pub fn is_strongbox(&self) -> bool { in is_strongbox() method
1046 let hw_sec_level = match km_blob.is_strongbox() { in load_by_uid_alias()
1209 assert!(!blob.is_strongbox()); in read_golden_key_blob_test()
1219 assert!(!blob.is_strongbox()); in read_golden_key_blob_test()
1255 assert!(!blob.is_strongbox()); in read_aes_gcm_encrypted_key_blob_test()