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

Null return values from [out] variables from enclave.

MoonHasSevenColor
1,151 Views

Hello, I imitage the code of intel introduction to pass parameters between enclave and app , to make test for out parameters between app and enclave, but the returned [out] value from enclave is null, which has been changed at enclave.

 

MoonHasSevenColor_0-1692017385143.png

 

The out parameter is defind as:

MoonHasSevenColor_1-1692017445038.png

 

 

I attach the code. You can "make" at the root directory, and then "./app" to execute. Thank you for your help!

0 Kudos
4 Replies
Wan_Intel
Moderator
1,117 Views

Hello MoonHasSevenColor,

Thanks for reaching out to us.

I encountered the same result as you when running your application.

Let me check with the relevant team and I'll update you as soon as possible.



Regards,

Wan


0 Kudos
MoonHasSevenColor
1,093 Views
Dear Wan,


Thank you for your help and Look forward to your replying!


Best Regards,
Jin Xin
0 Kudos
Wan_Intel
Moderator
1,079 Views

Hello MoonHasSevenColor,

Thanks for your patience. We've received feedback from relevant team.

 

For your information, the tutorial that you are referring to: Intel® SGX Intro: Passing Data Between App and Enclave is outdated.

We suggest you to check out the Sample Codes in Intel® SGX SDK, where a few samples may help with understanding how Enclaves work and communication between trusted and untrusted applications work.

 

Hope it helps.

 

 

Regards,

Wan


0 Kudos
Wan_Intel
Moderator
686 Views

Hello MoonHasSevenColor,

Thanks for your question.

If you need additional information from Intel, please submit a new question as this thread will no longer be monitored.



Regards,

Wan


0 Kudos
Reply