Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Load assembly code into enclave

shivani_g_
Beginner
346 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
346 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.

 

Reply