This is a winning solution to Track III of the iDASH Privacy & Security Workshop 2019.
From the main directory:
source scripts/bio-sgx-deps-install.sh
To build in the SGX Enclave mode:
make
To build in the non-SGX Enclave mode:
make ENCLAVE_MODE=0
- Build the program:
make
- Preprocess and encrypt the weight file:
make preprocess WEIGHT_SRC_FILE=<dir_to_hdf5_file>
- Run a local benchmark:
time make run INPUT_FILE_DIR=<input_file_dir>