Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Nazmus_S_
Beginner
104 Views

ecall cannot pass large character array to the enclave

Hi,

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?

Thanks.

Sadat 

0 Kudos
2 Replies
Anusha_K_Intel
Employee
104 Views

Hi,

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.

Nazmus_S_
Beginner
104 Views

Hi Anusha,

Thanks for your reply.

You are right. Actually, the issue was with the print function that I implemented (using OCALL). It printed only 511 characters.

Sadat

Reply