Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enclave memory improvement #54

Open
cankisagun opened this issue Apr 8, 2020 · 0 comments
Open

Enclave memory improvement #54

cankisagun opened this issue Apr 8, 2020 · 0 comments

Comments

@cankisagun
Copy link
Contributor

Increase enclave memory limit from 4kB to 128MB or 4GB.

The amount of data that the enclave is capable of storing encrypted (through a process known as sealing and unsealing is currently limited to 4kB. This is obviously not limited by disk space, but by the fact that the amount of data to seal/unseal needs to fit inside the enclave memory. Intel SGX documentation states that the enclave limit is 4GB, which should be tested for this particular application. The current limit is controlled by SEAL_LOG_SIZE in [enclave/src/data.rs] around Line 25. This value needs to at most equal to HeapMaxSize defined in [enclave/Enclave.config.xml]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant