This enumeration defines values for the type parameter passed to oe_create_enclave().
Enumerator |
---|
OE_ENCLAVE_TYPE_AUTO |
OE_ENCLAVE_TYPE_AUTO will pick the type based on the target platform that is being built, such that x64 binaries will use SGX.
|
OE_ENCLAVE_TYPE_SGX |
OE_ENCLAVE_TYPE_SGX will force the platform to use SGX, but any platform other than x64 will not support this and will generate errors.
|
__OE_ENCLAVE_TYPE_MAX |
Unused.
|