ENCLAVE_INIT_INFO_SGX structure (winnt.h)

Contains architecture-specific information to use to initialize an enclave when the enclave type is ENCLAVE_TYPE_SGX or ENCLAVE_TYPE_SGX2, which specifies an enclave for the Intel Software Guard Extensions (SGX) architecture extension.

Syntax

typedef struct _ENCLAVE_INIT_INFO_SGX {
  BYTE SigStruct[1808];
  BYTE Reserved1[240];
  BYTE EInitToken[304];
  BYTE Reserved2[1744];
} ENCLAVE_INIT_INFO_SGX, *PENCLAVE_INIT_INFO_SGX;

Members

SigStruct[1808]

The enclave signature structure (SIGSTRUCT) to use to initialize the enclave. This structure specifies information about the enclave from the enclave signer.

Reserved1[240]

Not used.

EInitToken[304]

The EINIT token structure (EINITTOKEN) to use to initialize the enclave. The initialization operation uses this structure to verify that the enclave has permission to start.

Reserved2[1744]

Not used.

Remarks

For more information about the SIGSTRUCT and EINITTOKEN structures, see the Intel SGX Programming Reference that is available from Intel Software Guard Extensions.

Requirements

Requirement Value
Minimum supported client Windows 10 [desktop apps only]
Minimum supported server Windows Server 2016 [desktop apps only]
Header winnt.h

See also

Enclave Structures

ENCLAVE_CREATE_INFO_SGX

InitializeEnclave