eigencc
所属分类:collect
开发工具:Rust
文件大小:0KB
下载次数:0
上传日期:2022-08-11 01:00:35
上 传 者:
sh-1993
说明: 一个机密的计算编程框架,
(A confidential computation programming framework,)
文件列表:
LICENSE (11357, 2022-08-10)
fns.Dockerfile (491, 2022-08-10)
operators.md (1751, 2022-08-10)
sgx/ (0, 2022-08-10)
sgx/CMakeLists.txt (3868, 2022-08-10)
sgx/attestation/ (0, 2022-08-10)
sgx/attestation/Cargo.toml (1402, 2022-08-10)
sgx/attestation/src/ (0, 2022-08-10)
sgx/attestation/src/cert.rs (9958, 2022-08-10)
sgx/attestation/src/ias.rs (6397, 2022-08-10)
sgx/attestation/src/key.rs (6334, 2022-08-10)
sgx/attestation/src/lib.rs (1825, 2022-08-10)
sgx/attestation/src/quote.rs (12350, 2022-08-10)
sgx/attestation/src/report.rs (8393, 2022-08-10)
sgx/attestation/src/verifier.rs (3892, 2022-08-10)
sgx/binder/ (0, 2022-08-10)
sgx/binder/Cargo.toml (508, 2022-08-10)
sgx/binder/Enclave.edl (1963, 2022-08-10)
sgx/binder/build.rs (871, 2022-08-10)
sgx/binder/src/ (0, 2022-08-10)
sgx/binder/src/binder.rs (2722, 2022-08-10)
sgx/binder/src/lib.rs (82, 2022-08-10)
sgx/binder/src/ocall.rs (2010, 2022-08-10)
sgx/cmake/ (0, 2022-08-10)
sgx/cmake/MesaTEEGenVars.cmake (5428, 2022-08-10)
sgx/cmake/MesaTEEUtils.cmake (9935, 2022-08-10)
sgx/cmake/UtilTargets.cmake (2216, 2022-08-10)
sgx/cmake/scripts/ (0, 2022-08-10)
sgx/cmake/scripts/Enclave.lds (123, 2022-08-10)
sgx/cmake/scripts/cargo_build_ex.sh (433, 2022-08-10)
sgx/cmake/scripts/cc_wrapper.sh (478, 2022-08-10)
sgx/cmake/scripts/gen_cov.sh (2136, 2022-08-10)
sgx/cmake/scripts/gen_enclave_info_toml.py (611, 2022-08-10)
sgx/cmake/scripts/gen_enclave_sig.sh (1049, 2022-08-10)
sgx/cmake/scripts/llvm-gcov (30, 2022-08-10)
sgx/cmake/scripts/parse_cargo_packages.py (2697, 2022-08-10)
... ...
# EigenCC: Confidential Computation
## Intel SGX
[Intel SGX](https://software.intel.com/content/www/us/en/develop/topics/software-guard-extensions.html) Enhance Your Code and Data Protection
### Requirements
Rust SGX SDK: 1.1.3
Rust Version: rustup default nightly-2020-10-25
### Compile
```
$ git clone --recursive https://github.com/ieigen/eigencc.git # if clone failed, use `git submodule update --init` to pull submodules
$ cd sgx
$ docker run --name fns --security-opt seccomp=unconfined --cap-add=SYS_PTRACE --net=host -v $(pwd):/app -w /app -it --entrypoint "" ieigen/fns:v3 bash
$ rustup default nightly-2020-10-25
$ mkdir -p build && cd build
$ cmake .. && make # or use SIM mode: cmake .. -DSGX_SIM_MODE=on && make
```
Build $IMAGE image by [Dockerfile](https://github.com/ieigen/eigencc/blob/main/sgx/dcap/Dockerfile)
you also can build it by docker:
```
docker build -t ieigen/dev:v1 -f fns.Dockerfile .
```
### Run
use EPID:
```
$ cd /app/release/services
$ export IAS_SPID=xxxx
$ export IAS_KEY=xxx
$ cd /app/release/services
$ #the next step can be skipped if you use SIM mode
$ LD_LIBRARY_PATH="/opt/intel/sgx-aesm-service/aesm:$LD_LIBRARY_PATH" /opt/intel/sgx-aesm-service/aesm/aesm_service
$ ./fns
```
open another terminal,
```
$ cd /app/release/examples
$ ./quickstart echo -m 'Hello' -e enclave_info.toml
[+] Invoke echo function
Hello, Eigen
```
### Develop an new confidential service
[EigenCC Privacy Operators](https://github.com/ieigen/eigencc/blob/main/operators.md)
## ARM TrustZone on FPGA
TBD
## Reference
1. SGX check: https://www.intel.com/content/www/us/en/support/articles/000057420/software/intel-security-products.html
近期下载者:
相关文件:
收藏者: