(report: &TDReport15)
| 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 { |
no test coverage detected