39 lines
1.4 KiB
Markdown
39 lines
1.4 KiB
Markdown
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 <wolfssl-root>/IDE/WIN-SGX
|
|
then copy wolfssl.lib to SGX_example/. Steps for creating wolfssl.lib can be
|
|
found in the main wolfSSL directory. <wolfssl-root>/IDE/WIN-SGX/ReadMe.txt.
|
|
|
|
![location for wolfssl.lib](README-images/wolfssl-lib.PNG)
|
|
|
|
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](README-images/set-include-path.PNG)
|
|
|
|
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](README-images/expected-results.PNG)
|
|
|
|
## 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.
|
|
|