Searched refs:verified_boot_data (Results 1 – 4 of 4) sorted by relevance
64 let verified_boot_data = verify_payload( in payload_expecting_no_initrd_passes_verification_with_no_initrd() localVariable80 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() localVariable124 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() localVariable411 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() localVariable425 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()
109 let verified_boot_data = verify_payload(&kernel, Some(initrd), &public_key) in assert_latest_payload_verification_passes() localVariable126 assert_eq!(expected_boot_data, verified_boot_data); in assert_latest_payload_verification_passes()
109 let verified_boot_data = verify_payload(signed_kernel, ramdisk, PUBLIC_KEY).map_err(|e| { in main() localVariable113 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()
65 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()