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.