- Start the docker with
./start-docker.sh. The source code is mounted to/root/sgx - Go to the source code dir:
cd /root/sgx - Build the enclave image:
make -C enclave. This will build the enclave image and put the artifact in/sgxdcnet/lib/enclave.signed.so. - Run the test script:
./run_tests.sh
Make is not smart enough to rebuild the enclave image. So always do Step 3 whenever you change the
interfaceandenclavecrates. Remember tomake cleanfirst.
Tutorial is waiting for you!
client,aggregator,servercontain the running logic of each role.
enclaveprovide the function of client within the enclave.commoncontains the general function for all rolesinterfacecontains the parameter settings, and the interface between in-enclave and out-enclave.third-partycomprises the third-party encryption library.