forked from wolfSSL/wolfssl
Update following review
This commit is contained in:
@@ -10,6 +10,10 @@ To create the static library, simply call make:
|
|||||||
|
|
||||||
`make -f sgx_t_static.mk all`
|
`make -f sgx_t_static.mk all`
|
||||||
|
|
||||||
|
To clean the static library and compiled objects use the provided clean script:
|
||||||
|
|
||||||
|
`clean.sh`
|
||||||
|
|
||||||
This will create a local static library, libwolfssl.sgx.static.lib.a, that can be linked with SGX enclaves to access wolfSSL APIs using SGX hardware.
|
This will create a local static library, libwolfssl.sgx.static.lib.a, that can be linked with SGX enclaves to access wolfSSL APIs using SGX hardware.
|
||||||
|
|
||||||
### Customization:
|
### Customization:
|
||||||
@@ -20,6 +24,9 @@ This will create a local static library, libwolfssl.sgx.static.lib.a, that can b
|
|||||||
For example, to enable all three:
|
For example, to enable all three:
|
||||||
`make -f sgx_t_static.mk CFLAGS=-DDEBUG_WOLFSSL HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1`
|
`make -f sgx_t_static.mk CFLAGS=-DDEBUG_WOLFSSL HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1`
|
||||||
|
|
||||||
|
NOTE: This more customized step has been provided for easier execution in the
|
||||||
|
script `build.sh`
|
||||||
|
|
||||||
### Limitations:
|
### Limitations:
|
||||||
Single Threaded (multiple threaded applications have not been tested)
|
Single Threaded (multiple threaded applications have not been tested)
|
||||||
AES-NI use with SGX has not been added in yet
|
AES-NI use with SGX has not been added in yet
|
||||||
|
@@ -1,8 +1,9 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
|
||||||
CFLAGS="-DDEBUG_WOLFSSL"
|
CFLAGS_NEW="-DDEBUG_WOLFSSL"
|
||||||
export CFLAGS=${CFLAGS}
|
export CFLAGS="${CFLAGS} ${CFLAGS_NEW}"
|
||||||
|
echo ${CFLAGS}
|
||||||
|
|
||||||
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1
|
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user