Community
cancel
Showing results for 
Search instead for 
Did you mean: 
sunho__choi
Beginner
119 Views

Intel SGX Data encryption

Hi,

I want to perform an operation inside an enclave and encrypt it when passing the computed value to the outside.

How do I encrypt my data?

 

-Thank you

Tags (1)
0 Kudos
3 Replies
Rodolfo_S_
New Contributor III
119 Views

Hi there,

You can find an example on how to encrypt data inside enclaves in this github project.

Regards,
Rodolfo

Junli_S_Intel
Employee
119 Views

You can also refer the Intel SDK's sample code: SealUnseal. You can find this source code in the SDK installer, or you can find in the github: https://github.com/intel/linux-sgx/tree/master/SampleCode/SealUnseal

 

Rodolfo_S_
New Contributor III
119 Views

It is important to mention that the unsealing of data can only be performed in the same machine where the seal operation has occurred, and also that the user **cannot** choose a specific key to use to encrypt/decrypt data.

[]s
Rodolfo