Community
cancel
Showing results for 
Search instead for 
Did you mean: 
lieser__philippe
Beginner
78 Views

Get enclave ID of caller from inside an OCALL

Hello,

from inside an OCALL, I would like to get the enclave ID (sgx_enclave_id_t) of the enclave calling this OCALL function.

Does someone know if and how this is possible?

0 Kudos
1 Reply
78 Views

No.

I believe you'll need to save it to a global variable (if there's only one instance of an enclave) or pass it as a parameter from the app to the enclave so that the enclave can then pass it to the ocall.

Francisco

Reply