ReadMe.txt 2.2 KB

123456789101112131415161718192021222324252627282930313233
  1. ==================================================================================================
  2. Static Library : wolfssl Project Overview
  3. ==================================================================================================
  4. Requirements:
  5. This code was created to use Intel's SGX hardware. It is expected that the user has gone through the
  6. steps of both turning on the hardware in bios if needed and has installed the necessary software
  7. from Intel to make use of the hardware. (https://software.intel.com/en-us/sgx) If these steps have
  8. not been done then it is expected that the user is familure with simiulation software being used in
  9. place of hardware.
  10. Overview and Build:
  11. This project creates a static library to then link with Enclaves. A simple example of an Enclave
  12. linking to the created wolfSSL library can be found in wolfssl-examples on github. By default
  13. the Platform Toolset is set to "Intel C++ Compiler 16.0", this may need adjusted depending on
  14. available compilers on the system being built on.
  15. Testing and development was done with Visual Studio 2013. This project may build with other versions
  16. of Visual Studio but has not been tested with them.
  17. To link with the created library with Visual Studio first open the wolfSSL_SGX project in Visual Studio.
  18. Select platform desired from build configuration ie Win32 or x64. (note the architecture of the library
  19. should match that of the Enclave/application being linked to it) Select Debug or PreSales, if looking
  20. to build in Release mode look at Intels documentation for farther steps on creating a Release build.
  21. Next select Build->Build Solution. This will create a library named wolfssl.lib in the directory
  22. wolfssl-root/IDE/WIN-SGX/<Configuration>/<Platform>. Move this library to the search path of Enclave
  23. linking to. Next create an Enclave using the library.
  24. Limitations:
  25. Single Threaded (multiple threaded applications have not been tested)
  26. Crypto Only (network communication from trusted Enclave has not been added yet)
  27. No ASN/Certificates (handling getting the system time has not yet been added)
  28. AES-NI use with SGX has not been added in yet