Home
last modified time | relevance | path

Searched refs:verified_boot_data (Results 1 – 4 of 4) sorted by relevance

/packages/modules/Virtualization/pvmfw/avb/tests/
Dapi_test.rs64 let verified_boot_data = verify_payload( in payload_expecting_no_initrd_passes_verification_with_no_initrd() localVariable
80 assert_eq!(expected_boot_data, verified_boot_data); in payload_expecting_no_initrd_passes_verification_with_no_initrd()
108 let verified_boot_data = verify_payload( in payload_expecting_no_initrd_passes_verification_with_service_vm_prop() localVariable
124 assert_eq!(expected_boot_data, verified_boot_data); in payload_expecting_no_initrd_passes_verification_with_service_vm_prop()
395 let verified_boot_data = verify_payload( in payload_with_rollback_index() localVariable
411 assert_eq!(expected_boot_data, verified_boot_data); in payload_with_rollback_index()
418 let verified_boot_data = verify_payload( in payload_with_multiple_capabilities() localVariable
425 assert!(verified_boot_data.has_capability(Capability::RemoteAttest)); in payload_with_multiple_capabilities()
426 assert!(verified_boot_data.has_capability(Capability::SecretkeeperProtection)); in payload_with_multiple_capabilities()
Dutils.rs109 let verified_boot_data = verify_payload(&kernel, Some(initrd), &public_key) in assert_latest_payload_verification_passes() localVariable
126 assert_eq!(expected_boot_data, verified_boot_data); in assert_latest_payload_verification_passes()
/packages/modules/Virtualization/pvmfw/src/
Dmain.rs109 let verified_boot_data = verify_payload(signed_kernel, ramdisk, PUBLIC_KEY).map_err(|e| { in main() localVariable
113 let debuggable = verified_boot_data.debug_level != DebugLevel::None; in main()
126 let dice_inputs = PartialInputs::new(&verified_boot_data).map_err(|e| { in main()
133 && verified_boot_data.has_capability(Capability::SecretkeeperProtection); in main()
138 if verified_boot_data.rollback_index == 0 { in main()
143 } else if verified_boot_data.has_capability(Capability::RemoteAttest) { in main()
145 if service_vm_version::VERSION != verified_boot_data.rollback_index { in main()
152 verified_boot_data.rollback_index in main()
Ddice.rs65 fn to_dice_hash(verified_boot_data: &VerifiedBootData) -> Result<Hash> { in to_dice_hash()
67 digests[..size_of::<Digest>()].copy_from_slice(&verified_boot_data.kernel_digest); in to_dice_hash()
68 if let Some(initrd_digest) = verified_boot_data.initrd_digest { in to_dice_hash()