In Intel SGX, is it possible to execute the untrusted code of the same application, after the trusted code has started its execution in enclave but has not finished yet?
- General Support
When an application calls an enclave via an ECALL, the enclave code executes until it is finished or until an interruption or exception occur. Only after one of these events happen does control return to the untrusted application. Think of the ECALL as a single command that is executed in the application.