Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
107 Views

Intel SGX

Hello,

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?

Tags (1)
0 Kudos
1 Reply
Highlighted
Moderator
107 Views

Hello Yashika,

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.

Regards,

Jesus

0 Kudos