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

Intel SGX Data encryption

sunho__choi
Beginner
389 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
389 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
389 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
389 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

Reply