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

Method mrtd

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

Source from the content-addressed store, hash-verified

280 }
281
282 pub fn mrtd(&self, machine: &Machine) -> Result<Vec<u8>> {
283 let opts = machine
284 .versioned_options()
285 .context("Failed to get versioned options")?;
286 self.compute_mrtd(if opts.two_pass_add_pages {
287 PageAddOrder::TwoPass
288 } else {
289 PageAddOrder::SinglePass
290 })
291 }
292
293 #[allow(dead_code)]
294 pub fn rtmr0(&self, machine: &Machine) -> Result<Vec<u8>> {

Callers 1

measure_with_logsMethod · 0.80

Calls 2

versioned_optionsMethod · 0.80
compute_mrtdMethod · 0.80

Tested by

no test coverage detected