Fixing seal-unseal

wq
parent 9ad79317
...@@ -13,6 +13,12 @@ EnclaveGmpTest.o: EnclaveGmpTest.c EnclaveGmpTest_t.h \ ...@@ -13,6 +13,12 @@ EnclaveGmpTest.o: EnclaveGmpTest.c EnclaveGmpTest_t.h \
/opt/intel/sgxsdk/include/tlibc/sys/limits.h \ /opt/intel/sgxsdk/include/tlibc/sys/limits.h \
/opt/intel/sgxsdk/include/tlibc/stdlib.h \ /opt/intel/sgxsdk/include/tlibc/stdlib.h \
/opt/intel/sgxsdk/include/sgx_trts.h \ /opt/intel/sgxsdk/include/sgx_trts.h \
/opt/intel/sgxsdk/include/sgx_tcrypto.h /opt/intel/sgxsdk/include/sgx.h \
/opt/intel/sgxsdk/include/sgx_attributes.h \
/opt/intel/sgxsdk/include/sgx_key.h \
/opt/intel/sgxsdk/include/sgx_report.h \
/opt/intel/sgxsdk/include/sgx_tseal.h \
/opt/intel/sgxsdk/include/sgx_tcrypto.h \
/opt/intel/sgxsdk/include/tlibc/math.h \ /opt/intel/sgxsdk/include/tlibc/math.h \
/opt/intel/sgxsdk/include/tlibc/float.h /opt/intel/sgxsdk/include/tlibc/float.h
...@@ -48,6 +54,20 @@ EnclaveGmpTest_t.h: ...@@ -48,6 +54,20 @@ EnclaveGmpTest_t.h:
/opt/intel/sgxsdk/include/sgx_trts.h: /opt/intel/sgxsdk/include/sgx_trts.h:
/opt/intel/sgxsdk/include/sgx_tcrypto.h:
/opt/intel/sgxsdk/include/sgx.h:
/opt/intel/sgxsdk/include/sgx_attributes.h:
/opt/intel/sgxsdk/include/sgx_key.h:
/opt/intel/sgxsdk/include/sgx_report.h:
/opt/intel/sgxsdk/include/sgx_tseal.h:
/opt/intel/sgxsdk/include/sgx_tcrypto.h:
/opt/intel/sgxsdk/include/tlibc/math.h: /opt/intel/sgxsdk/include/tlibc/math.h:
/opt/intel/sgxsdk/include/tlibc/float.h: /opt/intel/sgxsdk/include/tlibc/float.h:
...@@ -34,6 +34,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ...@@ -34,6 +34,9 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include "EnclaveGmpTest_t.h" #include "EnclaveGmpTest_t.h"
#include <sgx_tgmp.h> #include <sgx_tgmp.h>
#include <sgx_trts.h> #include <sgx_trts.h>
#include "sgx_tcrypto.h"
#include "sgx_tseal.h"
#include <math.h> #include <math.h>
void *(*gmp_realloc_func)(void *, size_t, size_t); void *(*gmp_realloc_func)(void *, size_t, size_t);
...@@ -210,6 +213,19 @@ void e_calc_pi (mpf_t *pi, uint64_t digits) ...@@ -210,6 +213,19 @@ void e_calc_pi (mpf_t *pi, uint64_t digits)
mpf_set_prec(*pi, precision); mpf_set_prec(*pi, precision);
char buf[32];
if (sgx_read_rand(buf, 32) != SGX_SUCCESS)
return;
uint32_t sealedLen = sgx_calc_sealed_data_size(0, 32);
uint8_t sealed_data[sealedLen];
if( sgx_seal_data(0, NULL, 32, buf, sealedLen, sealed_data) != SGX_SUCCESS)
return;
/* /*
426880 sqrt(10005) inf (6k)! (13591409+545140134k) 426880 sqrt(10005) inf (6k)! (13591409+545140134k)
......
...@@ -200,8 +200,8 @@ ECHO_N = -n ...@@ -200,8 +200,8 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = .so EXEEXT = .so
GMP_CPPFLAGS = GMP_CPPFLAGS = -I/d/gmp-build//include
GMP_LDFLAGS = GMP_LDFLAGS = -L/d/gmp-build//lib
INSTALL = /usr/bin/install -c INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
...@@ -246,8 +246,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service ...@@ -246,8 +246,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash SHELL = /bin/bash
STRIP = STRIP =
TGMP_CPPFLAGS = TGMP_CPPFLAGS = -I/opt/gmp/6.1.2/include
TGMP_LDFLAGS = TGMP_LDFLAGS = -L/opt/gmp/6.1.2/lib
VERSION = 1.0 VERSION = 1.0
abs_builddir = /d/sgxd/EnclaveGmpTest abs_builddir = /d/sgxd/EnclaveGmpTest
abs_srcdir = /d/sgxd/EnclaveGmpTest abs_srcdir = /d/sgxd/EnclaveGmpTest
...@@ -282,7 +282,7 @@ mandir = ${datarootdir}/man ...@@ -282,7 +282,7 @@ mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P) mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include oldincludedir = /usr/include
pdfdir = ${docdir} pdfdir = ${docdir}
prefix = /d/tsgx-build prefix = /usr/local
program_transform_name = s,x,x, program_transform_name = s,x,x,
psdir = ${docdir} psdir = ${docdir}
runstatedir = ${localstatedir}/run runstatedir = ${localstatedir}/run
...@@ -312,7 +312,7 @@ EnclaveGmpTest_SOURCES = EnclaveGmpTest_t.c EnclaveGmpTest_t.h \ ...@@ -312,7 +312,7 @@ EnclaveGmpTest_SOURCES = EnclaveGmpTest_t.c EnclaveGmpTest_t.h \
EnclaveGmpTest.c $(ENCLAVE_KEY) $(ENCLAVE_CONFIG) EnclaveGmpTest.c $(ENCLAVE_KEY) $(ENCLAVE_CONFIG)
EnclaveGmpTest_LDADD = -Wl,--no-undefined -Wl,--whole-archive -l$(SGX_TRTS_LIB) -Wl,--no-whole-archive -Wl,--start-group $(SGX_EXTRA_TLIBS) -lsgx_tstdc -lsgx_tcrypto -l$(SGX_TSERVICE_LIB) -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0 EnclaveGmpTest_LDADD = -Wl,--no-undefined -Wl,--whole-archive -l$(SGX_TRTS_LIB) -Wl,--no-whole-archive -Wl,--start-group $(SGX_EXTRA_TLIBS) -lsgx_tstdc -lsgx_tcrypto -l$(SGX_TSERVICE_LIB) -Wl,--end-group -Wl,-Bstatic -Wl,-Bsymbolic -Wl,-pie,-eenclave_entry -Wl,--export-dynamic -Wl,--defsym,__ImageBase=0
SGX_EXTRA_TLIBS = -lsgx_tgmp SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
......
...@@ -110,7 +110,8 @@ EnclaveGmpTest_LDADD = @SGX_ENCLAVE_LDADD@ ...@@ -110,7 +110,8 @@ EnclaveGmpTest_LDADD = @SGX_ENCLAVE_LDADD@
## --startgroup and --endgroup flags. (This would be where you'd add ## --startgroup and --endgroup flags. (This would be where you'd add
## SGXSSL libraries, and your trusted c++ library ## SGXSSL libraries, and your trusted c++ library
SGX_EXTRA_TLIBS=-lsgx_tgmp SGX_EXTRA_TLIBS=-lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx
## This line is OPTIONAL, and comes with a WARNING. ## This line is OPTIONAL, and comes with a WARNING.
......
...@@ -312,7 +312,7 @@ EnclaveGmpTest_SOURCES = EnclaveGmpTest_t.c EnclaveGmpTest_t.h \ ...@@ -312,7 +312,7 @@ EnclaveGmpTest_SOURCES = EnclaveGmpTest_t.c EnclaveGmpTest_t.h \
EnclaveGmpTest.c $(ENCLAVE_KEY) $(ENCLAVE_CONFIG) EnclaveGmpTest.c $(ENCLAVE_KEY) $(ENCLAVE_CONFIG)
EnclaveGmpTest_LDADD = @SGX_ENCLAVE_LDADD@ EnclaveGmpTest_LDADD = @SGX_ENCLAVE_LDADD@
SGX_EXTRA_TLIBS = -lsgx_tgmp SGX_EXTRA_TLIBS = -lsgx_tgmp -lsgx_tservice -lsgx_urts -lsgx_tcxx
all: all-am all: all-am
.SUFFIXES: .SUFFIXES:
......
...@@ -276,8 +276,8 @@ ECHO_N = -n ...@@ -276,8 +276,8 @@ ECHO_N = -n
ECHO_T = ECHO_T =
ENCLAVE_SIGN_TARGET = signed_enclave_dev ENCLAVE_SIGN_TARGET = signed_enclave_dev
EXEEXT = EXEEXT =
GMP_CPPFLAGS = GMP_CPPFLAGS = -I/d/gmp-build//include
GMP_LDFLAGS = GMP_LDFLAGS = -L/d/gmp-build//lib
INSTALL = /usr/bin/install -c INSTALL = /usr/bin/install -c
INSTALL_DATA = ${INSTALL} -m 644 INSTALL_DATA = ${INSTALL} -m 644
INSTALL_PROGRAM = ${INSTALL} INSTALL_PROGRAM = ${INSTALL}
...@@ -322,8 +322,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service ...@@ -322,8 +322,8 @@ SGX_UAE_SERVICE_LIB = sgx_uae_service
SGX_URTS_LIB = sgx_urts SGX_URTS_LIB = sgx_urts
SHELL = /bin/bash SHELL = /bin/bash
STRIP = STRIP =
TGMP_CPPFLAGS = TGMP_CPPFLAGS = -I/opt/gmp/6.1.2/include
TGMP_LDFLAGS = TGMP_LDFLAGS = -L/opt/gmp/6.1.2/lib
VERSION = 1.0 VERSION = 1.0
abs_builddir = /d/sgxd abs_builddir = /d/sgxd
abs_srcdir = /d/sgxd abs_srcdir = /d/sgxd
...@@ -358,7 +358,7 @@ mandir = ${datarootdir}/man ...@@ -358,7 +358,7 @@ mandir = ${datarootdir}/man
mkdir_p = $(MKDIR_P) mkdir_p = $(MKDIR_P)
oldincludedir = /usr/include oldincludedir = /usr/include
pdfdir = ${docdir} pdfdir = ${docdir}
prefix = /d/tsgx-build prefix = /usr/local
program_transform_name = s,x,x, program_transform_name = s,x,x,
psdir = ${docdir} psdir = ${docdir}
runstatedir = ${localstatedir}/run runstatedir = ${localstatedir}/run
...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \ ...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \
libBLS/bls/BLSPrivateKey.cpp \ libBLS/bls/BLSPrivateKey.cpp \
libBLS/bls/BLSSignature.cpp \ libBLS/bls/BLSSignature.cpp \
libBLS/bls/BLSutils.cpp \ libBLS/bls/BLSutils.cpp \
/d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \ libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \
/d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC) sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC)
nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC)
...@@ -399,8 +399,8 @@ sgxgmppi_SOURCES = sgxgmppi.c $(COMMON_SRC) ...@@ -399,8 +399,8 @@ sgxgmppi_SOURCES = sgxgmppi.c $(COMMON_SRC)
nodist_sgxgmppi_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmppi_SOURCES = $(COMMON_ENCLAVE_SRC)
EXTRA_sgxgmppi_DEPENDENCIES = EnclaveGmpTest.signed.so EXTRA_sgxgmppi_DEPENDENCIES = EnclaveGmpTest.signed.so
BUILT_SOURCES = $(COMMON_ENCLAVE_SRC) BUILT_SOURCES = $(COMMON_ENCLAVE_SRC)
sgxgmpmath_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmpmath_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
sgxgmppi_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmppi_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
all: $(BUILT_SOURCES) all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-recursive $(MAKE) $(AM_MAKEFLAGS) all-recursive
......
...@@ -97,6 +97,6 @@ EnclaveGmpTest.signed.so: EnclaveGmpTest/EnclaveGmpTest.signed.so ...@@ -97,6 +97,6 @@ EnclaveGmpTest.signed.so: EnclaveGmpTest/EnclaveGmpTest.signed.so
## Use the variables, not the actual library names to ensure these ## Use the variables, not the actual library names to ensure these
## targets work on simulation builds. ## targets work on simulation builds.
sgxgmpmath_LDADD=-l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmpmath_LDADD=-l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
sgxgmppi_LDADD=-l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmppi_LDADD=-l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \ ...@@ -389,8 +389,8 @@ COMMON_ENCLAVE_SRC = EnclaveGmpTest_u.c EnclaveGmpTest_u.h \
libBLS/bls/BLSPrivateKey.cpp \ libBLS/bls/BLSPrivateKey.cpp \
libBLS/bls/BLSSignature.cpp \ libBLS/bls/BLSSignature.cpp \
libBLS/bls/BLSutils.cpp \ libBLS/bls/BLSutils.cpp \
/d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \ libff/libff/algebra/curves/alt_bn128/alt_bn128_init.cpp \
/d/sgxd/libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp libff/libff/algebra/curves/alt_bn128/alt_bn128_g1.cpp
sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC) sgxgmpmath_SOURCES = sgxgmpmath.c $(COMMON_SRC)
nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmpmath_SOURCES = $(COMMON_ENCLAVE_SRC)
...@@ -399,8 +399,8 @@ sgxgmppi_SOURCES = sgxgmppi.c $(COMMON_SRC) ...@@ -399,8 +399,8 @@ sgxgmppi_SOURCES = sgxgmppi.c $(COMMON_SRC)
nodist_sgxgmppi_SOURCES = $(COMMON_ENCLAVE_SRC) nodist_sgxgmppi_SOURCES = $(COMMON_ENCLAVE_SRC)
EXTRA_sgxgmppi_DEPENDENCIES = EnclaveGmpTest.signed.so EXTRA_sgxgmppi_DEPENDENCIES = EnclaveGmpTest.signed.so
BUILT_SOURCES = $(COMMON_ENCLAVE_SRC) BUILT_SOURCES = $(COMMON_ENCLAVE_SRC)
sgxgmpmath_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmpmath_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
sgxgmppi_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -lpthread sgxgmppi_LDADD = -l$(SGX_URTS_LIB) -lgmp -ldl -l:libsgx_capable.a -l:libsgx_tprotected_fs.a -lpthread
all: $(BUILT_SOURCES) all: $(BUILT_SOURCES)
$(MAKE) $(AM_MAKEFLAGS) all-recursive $(MAKE) $(AM_MAKEFLAGS) all-recursive
......
...@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake. ...@@ -4,7 +4,7 @@ running configure, to aid debugging if configure makes a mistake.
It was created by SGX GMP Test configure 1.0, which was It was created by SGX GMP Test configure 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was generated by GNU Autoconf 2.69. Invocation command line was
$ ./configure --prefix=/d/tsgx-build --enable-assembly --disable-shared --enable-static --with-pic --enable-sgx $ ./configure --with-trusted-gmpdir=/opt/gmp/6.1.2 --with-gmpdir=/d/gmp-build/
## --------- ## ## --------- ##
## Platform. ## ## Platform. ##
...@@ -241,7 +241,6 @@ on skale-Lenovo-ideapad-520-15IKB ...@@ -241,7 +241,6 @@ on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating Makefile config.status:815: creating Makefile
config.status:815: creating EnclaveGmpTest/Makefile config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands config.status:987: executing depfiles commands
configure:5745: WARNING: unrecognized options: --enable-assembly, --disable-shared, --enable-static, --with-pic, --enable-sgx
## ---------------- ## ## ---------------- ##
## Cache variables. ## ## Cache variables. ##
...@@ -335,8 +334,8 @@ ENCLAVE_RELEASE_SIGN_FALSE='' ...@@ -335,8 +334,8 @@ ENCLAVE_RELEASE_SIGN_FALSE=''
ENCLAVE_RELEASE_SIGN_TRUE='#' ENCLAVE_RELEASE_SIGN_TRUE='#'
ENCLAVE_SIGN_TARGET='signed_enclave_dev' ENCLAVE_SIGN_TARGET='signed_enclave_dev'
EXEEXT='' EXEEXT=''
GMP_CPPFLAGS='' GMP_CPPFLAGS='-I/d/gmp-build//include'
GMP_LDFLAGS='' GMP_LDFLAGS='-L/d/gmp-build//lib'
INSTALL_DATA='${INSTALL} -m 644' INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}' INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}' INSTALL_SCRIPT='${INSTALL}'
...@@ -384,8 +383,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service' ...@@ -384,8 +383,8 @@ SGX_UAE_SERVICE_LIB='sgx_uae_service'
SGX_URTS_LIB='sgx_urts' SGX_URTS_LIB='sgx_urts'
SHELL='/bin/bash' SHELL='/bin/bash'
STRIP='' STRIP=''
TGMP_CPPFLAGS='' TGMP_CPPFLAGS='-I/opt/gmp/6.1.2/include'
TGMP_LDFLAGS='' TGMP_LDFLAGS='-L/opt/gmp/6.1.2/lib'
VERSION='1.0' VERSION='1.0'
ac_ct_CC='gcc' ac_ct_CC='gcc'
ac_ct_CXX='g++' ac_ct_CXX='g++'
...@@ -423,7 +422,7 @@ mandir='${datarootdir}/man' ...@@ -423,7 +422,7 @@ mandir='${datarootdir}/man'
mkdir_p='$(MKDIR_P)' mkdir_p='$(MKDIR_P)'
oldincludedir='/usr/include' oldincludedir='/usr/include'
pdfdir='${docdir}' pdfdir='${docdir}'
prefix='/d/tsgx-build' prefix='/usr/local'
program_transform_name='s,x,x,' program_transform_name='s,x,x,'
psdir='${docdir}' psdir='${docdir}'
runstatedir='${localstatedir}/run' runstatedir='${localstatedir}/run'
...@@ -448,3 +447,255 @@ target_alias='' ...@@ -448,3 +447,255 @@ target_alias=''
#define DEBUG 1 #define DEBUG 1
configure: exit 0 configure: exit 0
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
## ---------------------- ##
## Running config.status. ##
## ---------------------- ##
This file was extended by SGX GMP Test config.status 1.0, which was
generated by GNU Autoconf 2.69. Invocation command line was
CONFIG_FILES =
CONFIG_HEADERS =
CONFIG_LINKS =
CONFIG_COMMANDS =
$ ./config.status EnclaveGmpTest/Makefile depfiles
on skale-Lenovo-ideapad-520-15IKB
config.status:815: creating EnclaveGmpTest/Makefile
config.status:987: executing depfiles commands
...@@ -421,7 +421,7 @@ $config_commands ...@@ -421,7 +421,7 @@ $config_commands
Report bugs to <john.p.mechalas@intel.com>." Report bugs to <john.p.mechalas@intel.com>."
ac_cs_config="'--prefix=/d/tsgx-build' '--enable-assembly' '--disable-shared' '--enable-static' '--with-pic' '--enable-sgx'" ac_cs_config="'--with-trusted-gmpdir=/opt/gmp/6.1.2' '--with-gmpdir=/d/gmp-build/'"
ac_cs_version="\ ac_cs_version="\
SGX GMP Test config.status 1.0 SGX GMP Test config.status 1.0
configured by ./configure, generated by GNU Autoconf 2.69, configured by ./configure, generated by GNU Autoconf 2.69,
...@@ -502,7 +502,7 @@ if $ac_cs_silent; then ...@@ -502,7 +502,7 @@ if $ac_cs_silent; then
fi fi
if $ac_cs_recheck; then if $ac_cs_recheck; then
set X /bin/bash './configure' '--prefix=/d/tsgx-build' '--enable-assembly' '--disable-shared' '--enable-static' '--with-pic' '--enable-sgx' $ac_configure_extra_args --no-create --no-recursion set X /bin/bash './configure' '--with-trusted-gmpdir=/opt/gmp/6.1.2' '--with-gmpdir=/d/gmp-build/' $ac_configure_extra_args --no-create --no-recursion
shift shift
$as_echo "running CONFIG_SHELL=/bin/bash $*" >&6 $as_echo "running CONFIG_SHELL=/bin/bash $*" >&6
CONFIG_SHELL='/bin/bash' CONFIG_SHELL='/bin/bash'
...@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]="" ...@@ -600,10 +600,10 @@ S["am__EXEEXT_FALSE"]=""
S["am__EXEEXT_TRUE"]="#" S["am__EXEEXT_TRUE"]="#"
S["LTLIBOBJS"]="" S["LTLIBOBJS"]=""
S["LIBOBJS"]="" S["LIBOBJS"]=""
S["TGMP_LDFLAGS"]="" S["TGMP_LDFLAGS"]="-L/opt/gmp/6.1.2/lib"
S["TGMP_CPPFLAGS"]="" S["TGMP_CPPFLAGS"]="-I/opt/gmp/6.1.2/include"
S["GMP_LDFLAGS"]="" S["GMP_LDFLAGS"]="-L/d/gmp-build//lib"
S["GMP_CPPFLAGS"]="" S["GMP_CPPFLAGS"]="-I/d/gmp-build//include"
S["SGX_HW_SIM_FALSE"]="" S["SGX_HW_SIM_FALSE"]=""
S["SGX_HW_SIM_TRUE"]="#" S["SGX_HW_SIM_TRUE"]="#"
S["ENCLAVE_RELEASE_SIGN_FALSE"]="" S["ENCLAVE_RELEASE_SIGN_FALSE"]=""
...@@ -715,7 +715,7 @@ S["libexecdir"]="${exec_prefix}/libexec" ...@@ -715,7 +715,7 @@ S["libexecdir"]="${exec_prefix}/libexec"
S["sbindir"]="${exec_prefix}/sbin" S["sbindir"]="${exec_prefix}/sbin"
S["bindir"]="${exec_prefix}/bin" S["bindir"]="${exec_prefix}/bin"
S["program_transform_name"]="s,x,x," S["program_transform_name"]="s,x,x,"
S["prefix"]="/d/tsgx-build" S["prefix"]="/usr/local"
S["exec_prefix"]="${prefix}" S["exec_prefix"]="${prefix}"
S["PACKAGE_URL"]="" S["PACKAGE_URL"]=""
S["PACKAGE_BUGREPORT"]="john.p.mechalas@intel.com" S["PACKAGE_BUGREPORT"]="john.p.mechalas@intel.com"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment