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

sgx_create_enclave not returning

AArya2
New Contributor I
318 Views

I have come across a case where sgx_create_enclave does not return, but runs indefinitely.

I don't know what can be causing the problem, so please tell me what portions of my project would be useful to share, since it's a relatively large one.

0 Kudos
4 Replies
gaston-hillar
Black Belt
319 Views

Arya,

Firstly, can you share the code snippet that is making the call to sgx_create_enclave?

gaston-hillar
Black Belt
319 Views

Arya,

In addition, can you provide details on what you are trying to do, so that it is possible to understand the context without sharing the entire piece of code.

AArya2
New Contributor I
318 Views

The implementation problem was obviously from my side. I rewrote the program and the problem has gone away. I think it had to do with me having provided an incorrect filename, or in a format that the API didn't recognize.

The only problem is that it is more desirable for the API to "object" and return an error code that not to return at all. Unfortunately, I don't think I can give any minimal stepwise guide to reproduce the problem I was having.

gaston-hillar
Black Belt
319 Views

Arya,

Got it.

 

Reply