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

Intel SGX Data encryption

sunho__choi
Beginner
830 Views

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

0 Kudos
3 Replies
Rodolfo_S_
New Contributor III
830 Views

Hi there,

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

Regards,
Rodolfo

0 Kudos
Junli_S_Intel
Employee
830 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

 

0 Kudos
Rodolfo_S_
New Contributor III
830 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

0 Kudos
Reply