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

Load assembly code into enclave

shivani_g_
Beginner
500 Views

Hello

I have program written in assembly language. Is there a way to load assembly code inside the enclave and run it? How can  it be done?

Thank You

0 Kudos
1 Reply
Prabu_R_Intel
Employee
500 Views

Enclave supports the code written in C/C++ only.Moreover the enclave code runs in ring 3. We can execute the assembly language program written in 'C' inside the enclave. But since the enclave code runs in ring 3, there might be some restriction in accessing some registers/hardware resources.

 

0 Kudos
Reply