Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Novice
135 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
Moderator
124 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

3 Replies
Moderator
125 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

Moderator
106 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
Novice
24 Views
Hello JesusG, Thank you again for solving the problem for me. However, I still have a program which is needed to run in a 32-bit enclave. And I think I can't just develop x64 enclaves. Is there any other sulutions for me? And the code is still the "CSharp.zip". Thank you.
0 Kudos