(platform: &PlatformEvidence)
| 98 | } |
| 99 | |
| 100 | fn platform_attestation_mode(platform: &PlatformEvidence) -> AttestationMode { |
| 101 | match platform { |
| 102 | PlatformEvidence::Tdx { .. } => AttestationMode::DstackTdx, |
| 103 | PlatformEvidence::GcpTdx => AttestationMode::DstackGcpTdx, |
| 104 | PlatformEvidence::NitroEnclave => AttestationMode::DstackNitroEnclave, |
| 105 | } |
| 106 | } |
| 107 | |
| 108 | fn replay_runtime_events<H: Hasher>( |
| 109 | runtime_events: &[RuntimeEvent], |