MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / compute_measurements

Method compute_measurements

verifier/src/verification.rs:291–307  ·  view source on GitHub ↗
(
        &self,
        vm_config: &VmConfig,
        fw_path: &Path,
        kernel_path: &Path,
        initrd_path: &Path,
        kernel_cmdline: &str,
    )

Source from the content-addressed store, hash-verified

289 }
290
291 fn compute_measurements(
292 &self,
293 vm_config: &VmConfig,
294 fw_path: &Path,
295 kernel_path: &Path,
296 initrd_path: &Path,
297 kernel_cmdline: &str,
298 ) -> Result<TdxMeasurements> {
299 self.compute_measurement_details(
300 vm_config,
301 fw_path,
302 kernel_path,
303 initrd_path,
304 kernel_cmdline,
305 )
306 .map(|details| details.measurements)
307 }
308
309 fn load_or_compute_measurements(
310 &self,

Callers 1

Calls 1

Tested by

no test coverage detected