tree: 4d7d9824732660398713203089275ca6a9df8d40 [path history] [tgz]
  1. .cargo/
  2. src/
  3. .gitignore
  4. build.rs
  5. Cargo.lock
  6. Cargo.toml
  7. read_results.py
  8. README.md
apps/sgx/README.md

Setup

  1. Install the Fortanix Enclave Development Platform
  2. rustup component add llvm-tools-preview to get llvm-ar and llvm-objcopy
  3. pip install numpy decorator psutil
  4. cargo run to start the enclave TCP server
  5. Send a 28x28 “image” to the enclave model server using head -c $((28*28*4)) /dev/urandom | nc 127.0.0.1 4242 | python read_results.py