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

Output destination of sgx_rijndael128GCM_encrypt

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