SDK compilation modes
SGX applications can be compiled in several modes:
hardware debug mode (signed with Intel's key, code not optimized).
hardware prerelease mode (signed with your key, code is optimized).
hardware release mode (signed with your key, code is optimized, cannot be debugged).
simulation mode (in debug mode).
SGX SDK Tools
Edger8r (sgx_edger8r
)
sgx_edger8r
)Generates "edge" routines (interface between the untrusted application and the enclave) described in an Enclave Description Language (EDL) file.
Using it on file XYZ.edl
produces files XYZ_[tu]t.[hc] where t=trusted, u=untrusted, h=prototypes, and c=functions
.
Enclave signing tool (sgx_sign
)
sgx_sign
)Supports key management.
Enclave Memory Measurement Tool (sgx_emmt
)
sgx_emmt
)Use it to measure how much memory the enclave uses (needed by the Enclave Configuration File).
Last updated