- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I would like to control the content of my enclave. Windows SGX SDK allows to create and sign enclaves, however it is a black box. I have no knowledge about what is inside and I would like to be able to reproduce the enclave construction process such that i can inspect all pages added to the enclave and check the enclave hash. Is there a way to do that?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Two versions of sgx_emmt are provided in the Intel® Software Guard Extensions Evaluation SDK: 32bit version and 64bit version. Cross utilizing the tool will cause a measurement failure. By default, the 64bit version is utilized. To measure 32bit enclaves, use the 32bit version sgx_emmt manually.
I build the enclave and application in x64 bit mode and used the following command for measure the memory used by program within the enclave (Sample Application Shipped with Intel SGX SDK).
sgx_emmt --enclave=Enclave.signed.dll App.exe
sgx_emmt App.exe
Output:
The commandline is : "App.exe".
Enclave : "Enclave.signed.dll"
[Peak stack use] : 0xbc8
[Peak heap use] : 0x1000
Thanks and Regards,
Surenthar Selvaraj
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The signing tool has to recreate the construction process to create the MRENCLAVE value and the SIGSTRUCT for the enclave. Is this not sufficient to meet your needs?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Two versions of sgx_emmt are provided in the Intel® Software Guard Extensions Evaluation SDK: 32bit version and 64bit version. Cross utilizing the tool will cause a measurement failure. By default, the 64bit version is utilized. To measure 32bit enclaves, use the 32bit version sgx_emmt manually.
I build the enclave and application in x64 bit mode and used the following command for measure the memory used by program within the enclave (Sample Application Shipped with Intel SGX SDK).
sgx_emmt --enclave=Enclave.signed.dll App.exe
sgx_emmt App.exe
Output:
The commandline is : "App.exe".
Enclave : "Enclave.signed.dll"
[Peak stack use] : 0xbc8
[Peak heap use] : 0x1000
Thanks and Regards,
Surenthar Selvaraj
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page