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

SGX_ERROR_UNEXPECTED

Wang__Huibo
Beginner
1,051 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
1,051 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.

0 Kudos
Wang__Huibo
Beginner
1,051 Views

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

0 Kudos
JC1
Beginner
1,051 Views

Thanks for your reply. I'll check. 

0 Kudos
tianyu_l_
Beginner
1,051 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

 

0 Kudos
Reply