Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Colin_W_
Beginner
70 Views

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
Reply