Skip to main content

Module dcu

Module dcu 

Source

Structs§

AttestationReport
This structure contains both the report body and its cryptographic signature.
AttestationResponse
Response structure containing the attestation report from the dcu devices
Body
A structure representing the body of an attestation report. This is marked with repr(C) for C compatibility and can be serialized/deserialized.
DcuDevice
A handle to the dcu device.
MkfdIoctlSecurityAttestationArgs
IOCTL arguments structure for security attestation requests Note: Maintains #[repr(C)] for compatibility with kernel interface

Enums§

DcuDeviceIoctl
IOCTL command enumeration for DCU device operations

Constants§

DCU_GET_REPORT
Predefined IOCTL command for getting attestation reports Uses write-read operation mode with MkfdIoctlSecurityAttestationArgs structure

Functions§

save_certificates
Saves certificates to local files
verify_report
Performs complete verification of a single attestation report.