mirror of https://github.com/wolfSSL/wolfssl.git
Update following review
parent
30f8f7d409
commit
03fe54dcc4
|
@ -10,6 +10,10 @@ To create the static library, simply call make:
|
|||
|
||||
`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.
|
||||
|
||||
### 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:
|
||||
`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:
|
||||
Single Threaded (multiple threaded applications have not been tested)
|
||||
AES-NI use with SGX has not been added in yet
|
||||
|
|
|
@ -1,8 +1,9 @@
|
|||
#!/bin/sh
|
||||
|
||||
|
||||
CFLAGS="-DDEBUG_WOLFSSL"
|
||||
export CFLAGS=${CFLAGS}
|
||||
CFLAGS_NEW="-DDEBUG_WOLFSSL"
|
||||
export CFLAGS="${CFLAGS} ${CFLAGS_NEW}"
|
||||
echo ${CFLAGS}
|
||||
|
||||
make -f sgx_t_static.mk HAVE_WOLFSSL_BENCHMARK=1 HAVE_WOLFSSL_TEST=1
|
||||
|
||||
|
|
Loading…
Reference in New Issue