Crate sgx

Source
Expand description

This crate contains types for building an Intel SGX implementation.

Fully understanding the contents of this crate will likely require access to the Intel Software Developer Manual.

How to use this crate partly depends on what you are trying to accomplish:

  1. If you are an enclave developer, you probably want the parameters and ssa modules.
  2. If you are signing an enclave, you probably want the signature and crypto modules.
  3. If you are developing an enclave loader, you probably want the parameters and page modules. However, you may also want the signature module to load a signature.
  4. If you want to parse fields from the CPU certificate, you probably want the pck module and rcrypto feature.

Modules§

crypto
Cryptography backends
enclu
SGX ENCLU Leaf Instructions
page
Page-related structures
parameters
Enclave creation parameters
signature
Enclave signature types
ssa
State Save Area (SSA)

Structs§

Report
The REPORT structure is the output of the EREPORT instruction, and must be 512-Byte aligned.
ReportBody
The enclave report body.