53 "Unexpected error occurred.",
57 SGX_ERROR_INVALID_PARAMETER,
62 SGX_ERROR_OUT_OF_MEMORY,
67 SGX_ERROR_ENCLAVE_LOST,
68 "Power transition occurred.",
69 "Please refer to the sample \"PowerTransition\" for details."
72 SGX_ERROR_INVALID_ENCLAVE,
73 "Invalid enclave image.",
77 SGX_ERROR_INVALID_ENCLAVE_ID,
78 "Invalid enclave identification.",
82 SGX_ERROR_INVALID_SIGNATURE,
83 "Invalid enclave signature.",
93 "Invalid SGX device.",
94 "Please make sure SGX module is enabled in the BIOS, and install SGX driver afterwards."
97 SGX_ERROR_MEMORY_MAP_CONFLICT,
98 "Memory map conflicted.",
102 SGX_ERROR_INVALID_METADATA,
103 "Invalid enclave metadata.",
107 SGX_ERROR_DEVICE_BUSY,
108 "SGX device was busy.",
112 SGX_ERROR_INVALID_VERSION,
113 "Enclave version was invalid.",
117 SGX_ERROR_INVALID_ATTRIBUTE,
118 "Enclave was not authorized.",
122 SGX_ERROR_ENCLAVE_FILE_ACCESS,
123 "Can't open enclave file.",
static sgx_errlist_t sgx_errlist[]
Definition: types.h:50
struct _sgx_errlist_t sgx_errlist_t
sgx_enclave_id_t global_eid
Definition: types.h:41
sgx_status_t err
Definition: types.h:44
const char * sug
Definition: types.h:46
const char * msg
Definition: types.h:45