Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
56 Views

SGX Enclave 0xC000001D: Illegal Instruction

Jump to solution

Hello!
I want to encrypt some numbers in the Enclave。However, when the encryption function execution successfully, it cannot return NL_STATUS_OK. When I used Intel SGX Debugger in the VS2017, it shows the exception "0x0100B01D (Enclave1.signed.dll) (ConTest1.exe )has an unhandled exception: 0xC000001D: Illegal Instruction。“
I don't know how to solve the problem. Does anyboby can help me? Thank U a lot!
And my codes is here.

0 Kudos

Accepted Solutions
Highlighted
Moderator
45 Views

Hello hiber,

 

I converted your solution to x64 and it worked for me. This is the output I get:

 

hello

5

133232

s2:ε÷¬ì%

 

Your solution was Win32 so you may want to look at this article: https://software.intel.com/content/www/us/en/develop/documentation/sgx-developer-guide/top/use-of-la...

 

I attached the converted solution.

 

 

View solution in original post

2 Replies
Highlighted
Moderator
46 Views

Hello hiber,

 

I converted your solution to x64 and it worked for me. This is the output I get:

 

hello

5

133232

s2:ε÷¬ì%

 

Your solution was Win32 so you may want to look at this article: https://software.intel.com/content/www/us/en/develop/documentation/sgx-developer-guide/top/use-of-la...

 

I attached the converted solution.

 

 

View solution in original post

Highlighted
Moderator
27 Views

This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.


0 Kudos