3 ms·
> "It gets worse! The amount of encrypted RAM available to an enclave is limited to 128MB, which isn’t enough to store a large data set of registered users." (
by bascule 9y ago
> "It gets worse! The amount of encrypted RAM available to an enclave is limited to 128MB, which isn’t enough to store a large data set of registered users."
(So they used ORAM)
That's all very neat, but before a 128MB limit scares anyone off from playing with SGX, it's no longer a limit.
As of the Linux SGX SDK v1.9, enclaves can be up to 64GB (31.75GB heap space and 31.625GB buffers). The Baidu Rust SGX SDK supports this, for example:
https://github.com/baidu/rust-sgx-sdk#v020-release https://github.com/baidu/rust-sgx-sdk#v020-release
- Ar-Curunir 9y agoJust to clarify, they didn't use ORAM, but designed a special algorithm for their specific access pattern. In particular, they do a linear scan of the entire user database, whereas ORAM would afford them polylogarithmic running time.