I am trying to send a character array of size 64200, to the enclave via ECALL. However, the enclave receives only 511 characters. Is this restriction imposed by the design of Intel SGX? Any idea how to fix this?
I have tried passing an array of size 64500 from application to the enclave via ecall and It worked for me and there is no restriction in passing the array as long as its size is less than 128MB. I guess there may be some problem with the code please check.