Home
last modified time | relevance | path

Searched refs:instance_data (Results 1 – 2 of 2) sorted by relevance

/packages/modules/Virtualization/microdroid_manager/src/
Ddice.rs29 instance_data: &MicrodroidData, in dice_derivation()
32 let subcomponents = build_subcomponent_list(instance_data); in dice_derivation()
39 code_hash_ctx.update(instance_data.apk_data.root_hash.as_ref()); in dice_derivation()
40 authority_hash_ctx.update(instance_data.apk_data.cert_hash.as_ref()); in dice_derivation()
41 for extra_apk in &instance_data.extra_apks_data { in dice_derivation()
45 for apex in &instance_data.apex_data { in dice_derivation()
59 instance_data.salt.clone().try_into().unwrap() in dice_derivation()
125 fn build_subcomponent_list(instance_data: &MicrodroidData) -> Vec<Subcomponent> { in build_subcomponent_list()
130 let apks = once(&instance_data.apk_data) in build_subcomponent_list()
131 .chain(&instance_data.extra_apks_data) in build_subcomponent_list()
[all …]
Dmain.rs277 let instance_data = if let Some(saved_data) = saved_data { in verify_payload_with_instance_img() localVariable
299 Ok(instance_data) in verify_payload_with_instance_img()
318 let instance_data = if should_defer_rollback_protection() { in try_run_payload() localVariable
330 let dice_artifacts = dice_derivation(dice, &instance_data, &payload_metadata)?; in try_run_payload()
380 config.extra_apks.len() == instance_data.extra_apks_data.len(), in try_run_payload()
383 instance_data.extra_apks_data.len() in try_run_payload()