Skip to main content

Crate tee_call

Crate tee_call 

Source
Expand description

This module includes the TeeCall trait and its implementation. The trait defines the trusted execution environment (TEE)-specific APIs for attestation and data dealing.

Structs§

GetAttestationReportResult
The result of the get_attestation_report.
KeyDerivationPolicy
Key derivation policy
SnpCall
Implementation of TeeCall for SNP
TdxCall
Implementation of TeeCall for TDX
VbsCall
Implementation of TeeCall for VBS

Enums§

Error
KeyDerivationSvn
TEE-specific SVN material bound into the hardware-derived key for anti-rollback. Each variant carries exactly the fields its TEE mixes into key derivation and maps 1:1 to a HardwareKeyProtector header version.
TeeType
Type of the TEE

Constants§

HW_DERIVED_KEY_LENGTH
Use the SNP-defined derived key size for now.
REPORT_DATA_SIZE
Use the SNP-defined report data size for now.

Traits§

TeeCall
Trait that defines the get attestation report interface for TEE.
TeeCallGetDerivedKey
Optional sub-trait that defines the get-derived-key interface for a TEE.