SafeTrace icon indicating copy to clipboard operation
SafeTrace copied to clipboard

First-pass DP PR

Open FishmanL opened this issue 5 years ago • 4 comments

The code is relatively simple -- I just used the RGSL package for laplacian noise which I generate, take the absolute value of, double (since I'm only taking 1 tail) and then subtract it from the distance before comparing it to the minimum.

FishmanL avatar Apr 03 '20 19:04 FishmanL

Thanks @FishmanL, I've taken a look at your PR. I've made some small adjustments but this PR won't compile because the RGSL library depends on features from the std library which are not available inside SGX, and that one cannot disable.

@reuvenpo do you have any suggestions?

lacabra avatar Apr 08 '20 22:04 lacabra

https://software.intel.com/en-us/forums/intel-software-guard-extensions-intel-sgx/topic/748096 seems relevant?

FishmanL avatar Apr 08 '20 22:04 FishmanL

Possibly. That's outside my knowledge of SGX+Rust. That's why I tagged Reuven in my previous comment. I'll let him respond.

lacabra avatar Apr 08 '20 23:04 lacabra

Hi @FishmanL, we can only use no_std-enabled crates inside the enclave, so please use a GSL library with no_std support and make sure the project compiles on your machine. :blush:

assafmo avatar Apr 19 '20 12:04 assafmo