Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.
1467 Discussions

SGX_ERROR_ENCLAVE_CRASHED error while initializing enclave

Rashmik
Beginner
153 Views

I am using teaclave RUST SGX SDK v1.1.6, 2.18.x is the latest SGX PSW on SGX server Icelake. Code works well in simulation mode using 2.17x SGX SDK, however, fails in hardware mode. What am I doing wrong.

Following is my enclave config:

<EnclaveConfiguration>
<ProdID>0</ProdID>
<ISVSVN>0</ISVSVN>
<StackMaxSize>0x20000</StackMaxSize>
<HeapMaxSize>0x80000</HeapMaxSize>
<TCSNum>12</TCSNum>
<TCSPolicy>1</TCSPolicy>
<DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect>
<MiscMask>0xFFFFFFFF</MiscMask>
</EnclaveConfiguration>
 
Note that the same configuration has worked with previous versions. I am unable to figure out the root cause.
0 Kudos
0 Replies
Reply