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

SGX_ERROR_UNEXPECTED

Wang__Huibo
Beginner
274 Views

Hi,

 

 

When I am calling 

sgx_ecc256_create_key_pair, 

I got the following error.

-----------------------------------------------------------------------------

SGX_ERROR_UNEXPECTED

The key creation process failed due to an internal cryptography library failure. 

---------------------------------------------------------------------------------------------------------------

Does anybody run into this error before? Or Does anybody have the answer for this error.? Thank you in advance!

 

 

 

 

0 Kudos
4 Replies
JC1
Beginner
274 Views

I don't know if it's related but I have the same error when trying to use sgx_sha256_update.

I call sgx_sha256_init first which returns successfully but then calling sgx_sha256_update returns SGX_ERROR_UNEXPECTED.

I'd be interested to know if you got this working or if someone else has found the answer.

Thanks.

Wang__Huibo
Beginner
274 Views

Hi I fixed my error because of invalid input, so Please check your inputs again.

JC1
Beginner
274 Views

Thanks for your reply. I'll check. 

tianyu_l_
Beginner
274 Views

hello Huibo,

I am glad to communicate with you.

I hope that you can tell me which motherboard  you use in your computer, and I also hope to get touch with you.

so could you tell me what is your facebook number or weixin number.

sincerely,

Tianyu Li

 

Reply