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

Output destination of sgx_rijndael128GCM_encrypt

Colin_W_
Beginner
186 Views
Hi, I was wondering, why the developer reference regarding sgx_rijndael128GCM_encrypt says:
It is recommended that the source and destination data buffers are allocated within the enclave.
Would it have any security implications, when I use memory allocated outside enclave memory? In my opinion I would save a memcpy from temporary enclave memory to outside enclave memory, i if I use outside enclave memory as a destination for the encryption. Best regards, Colin
0 Kudos
0 Replies
Reply