README.txt 961 B

123456789101112131415161718192021222324252627
  1. ---------------------------
  2. Purpose of LocalAttestation
  3. ---------------------------
  4. The project demonstrates:
  5. - How to establish a protected channel
  6. - Secret message exchange using enclave to enclave function calls
  7. ------------------------------------
  8. How to Build/Execute the Sample Code
  9. ------------------------------------
  10. 1. Install Intel(R) SGX SDK for Linux* OS
  11. 2. Build the project with the prepared Makefile:
  12. a. Hardware Mode, Debug build:
  13. $ make
  14. b. Hardware Mode, Pre-release build:
  15. $ make SGX_PRERELEASE=1 SGX_DEBUG=0
  16. c. Hardware Mode, Release build:
  17. $ make SGX_DEBUG=0
  18. d. Simulation Mode, Debug build:
  19. $ make SGX_MODE=SIM
  20. e. Simulation Mode, Pre-release build:
  21. $ make SGX_MODE=SIM SGX_PRERELEASE=1 SGX_DEBUG=0
  22. f. Simulation Mode, Release build:
  23. $ make SGX_MODE=SIM SGX_DEBUG=0
  24. 3. Execute the binary directly:
  25. $ ./app
  26. 4. Remember to "make clean" before switching build mode