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

Function validate_td15

dstack-attest/src/attestation.rs:1171–1176  ·  view source on GitHub ↗
(report: &TDReport15)

Source from the content-addressed store, hash-verified

1169 Ok(())
1170 }
1171 fn validate_td15(report: &TDReport15) -> Result<()> {
1172 if report.mr_service_td != [0u8; 48] {
1173 bail!("Invalid mr service td");
1174 }
1175 validate_td10(&report.base)
1176 }
1177 fn validate_sgx(report: &EnclaveReport) -> Result<()> {
1178 let is_debug = report.attributes[0] & 0x02 != 0;
1179 if is_debug {

Callers 1

validate_tcbFunction · 0.85

Calls 1

validate_td10Function · 0.85

Tested by

no test coverage detected