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

Method rtmr0

dstack-mr/src/tdvf.rs:294–297  ·  view source on GitHub ↗
(&self, machine: &Machine)

Source from the content-addressed store, hash-verified

292
293 #[allow(dead_code)]
294 pub fn rtmr0(&self, machine: &Machine) -> Result<Vec<u8>> {
295 let (rtmr0_log, _) = self.rtmr0_log(machine)?;
296 Ok(measure_log(&rtmr0_log))
297 }
298
299 pub fn rtmr0_log(&self, machine: &Machine) -> Result<(RtmrLog, Tables)> {
300 let td_hob_hash = self.measure_td_hob(machine.memory_size)?;

Callers

nothing calls this directly

Calls 2

measure_logFunction · 0.85
rtmr0_logMethod · 0.80

Tested by

no test coverage detected