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

Function is_rtmr_sysfs_available

tdx-attest/src/linux.rs:239–241  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

237}
238
239fn is_rtmr_sysfs_available() -> bool {
240 Path::new(RTMR_SYSFS_BASE).is_dir()
241}
242
243fn extend_rtmr_via_sysfs(index: u32, digest: &[u8; 48]) -> Result<()> {
244 let path = format!("{}/rtmr{}:sha384", RTMR_SYSFS_BASE, index);

Callers 1

extend_rtmrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected