Skip to main content

Crate sgx_isa

Crate sgx_isa 

Source
Expand description

Constants and structures related to the Intel SGX ISA extension.

These are taken directly from the Intel Software Developer’s Manual, volume 3, chapters 37–43. Rust conversions traits were added where convenient.

Modules§

tdx
Constants and structures related to the Intel TDX.

Macros§

enum_def
struct_def

Structs§

Attributes
AttributesFlags
Einittoken
Keypolicy
Keyrequest
Miscselect
Pageinfo
Pcmd
Report
ReportMacStruct
Rust definition of REPORTMACSTRUCT, used by TDX TDREPORT_STRUCT and the future 256BITSGX
ReportType
Rust definition of REPORTTYPE from REPORTMACSTRUCT.
Secinfo
SecinfoFlags
Secs
Sigstruct
Targetinfo
Tcs
TcsFlags

Enums§

Encls
Enclu
ErrorCode
Keyname
PageType
ReportTypeType

Constants§

CPU_SVN_SIZE
HASH_384_SIZE
SHA384 hash size in bytes
MEAS_EADD
MEAS_ECREATE
MEAS_EEXTEND
REPORT_DATA_SIZE
REPORT_MAC_STRUCT_RESERVED1_BYTES
REPORT_MAC_STRUCT_RESERVED2_BYTES
REPORT_MAC_STRUCT_SIZE
SIGSTRUCT_HEADER1
SIGSTRUCT_HEADER2
TEE_MAC_SIZE
Message SHA 256 HASH Code - 32 bytes

Type Aliases§

Sha384Hash
SHA384 hash