- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page