wolfssl-examples/SGX_Windows
Nickolas Lapp 973a3299d1 Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt
test, wolfcrypt benchmark, and a simple TLS client App all to be run on
SGX hardware. Move SGX_example -> SGX_Windows since there is now a linux
example.
2017-06-12 14:37:59 -07:00
..
Benchmarks Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt 2017-06-12 14:37:59 -07:00
Enclave Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt 2017-06-12 14:37:59 -07:00
README-images Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt 2017-06-12 14:37:59 -07:00
Benchmarks.sln Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt 2017-06-12 14:37:59 -07:00
README.md Adds SGX_Linux, a simple Enclave/App example that includes: wolfcrypt 2017-06-12 14:37:59 -07:00

README.md

wolfSSL Enclave Example

This repository contains an example application, written in C++, which demonstrates how to link with the wolfSSL lightweight SSL/TLS library with a simple Enclave. First create wolfssl.lib from /IDE/WIN-SGX then copy wolfssl.lib to SGX_example/. Steps for creating wolfssl.lib can be found in the main wolfSSL directory. /IDE/WIN-SGX/ReadMe.txt.

location for wolfssl.lib

After creating and moving wolfssl.lib add the include path to wolfSSL header files. It's suggested to add this with all platforms and all configurations selected so that it only has to be added once.

setting the include path

Next optionally set the platform toolset for the compiler desired to use. By default it is set to Intel C++ 16.0.

Below is the expected results when running the created benchmark application.

expected results

Limitations

This code has been developed and tested on Visual Studio 2013 with the default Intel compiler set. It may work for other versions but building has not been tested on other versions.

1)Single Threaded 2)Crypto Only 3)AES-NI intrensics not added

Support

Please contact wolfSSL at support@wolfssl.com with any questions, bug fixes, or suggested feature additions.