Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sgxwallet
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
董子豪
sgxwallet
Commits
12367212
Unverified
Commit
12367212
authored
Jul 03, 2020
by
Oleh Nikolaiev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-2794 add intel to third party
parent
338bdaf1
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
16 additions
and
17 deletions
+16
-17
BLSCrypto.cpp
BLSCrypto.cpp
+2
-2
Makefile.am
Makefile.am
+2
-2
ServerInit.cpp
ServerInit.cpp
+2
-2
TestUtils.cpp
TestUtils.cpp
+2
-2
TestUtils.h
TestUtils.h
+2
-2
Makefile.am
secure_enclave/Makefile.am
+0
-1
sgxwallet.h
sgxwallet.h
+2
-2
testw.cpp
testw.cpp
+2
-2
create_enclave.c
third_party/intel/create_enclave.c
+1
-1
create_enclave.h
third_party/intel/create_enclave.h
+0
-0
oc_alloc.c
third_party/intel/oc_alloc.c
+0
-0
sgx_detect.h
third_party/intel/sgx_detect.h
+0
-0
sgx_detect_linux.c
third_party/intel/sgx_detect_linux.c
+1
-1
sgx_stub.c
third_party/intel/sgx_stub.c
+0
-0
sgx_stub.h
third_party/intel/sgx_stub.h
+0
-0
No files found.
BLSCrypto.cpp
View file @
12367212
...
@@ -33,9 +33,9 @@
...
@@ -33,9 +33,9 @@
#include "BLSPrivateKeyShareSGX.h"
#include "BLSPrivateKeyShareSGX.h"
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include <gmp.h>
#include <gmp.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
...
...
Makefile.am
View file @
12367212
...
@@ -70,7 +70,7 @@ COMMON_SRC = InvalidStateException.cpp Exception.cpp InvalidArgumentException.c
...
@@ -70,7 +70,7 @@ COMMON_SRC = InvalidStateException.cpp Exception.cpp InvalidArgumentException.c
SGXWalletServer.cpp SGXRegistrationServer.cpp CSRManagerServer.cpp RPCException.cpp BLSCrypto.cpp
\
SGXWalletServer.cpp SGXRegistrationServer.cpp CSRManagerServer.cpp RPCException.cpp BLSCrypto.cpp
\
ECDSACrypto.cpp
\
ECDSACrypto.cpp
\
DKGCrypto.cpp ServerInit.cpp BLSPrivateKeyShareSGX.cpp LevelDB.cpp ServerDataChecker.cpp SEKManager.cpp
\
DKGCrypto.cpp ServerInit.cpp BLSPrivateKeyShareSGX.cpp LevelDB.cpp ServerDataChecker.cpp SEKManager.cpp
\
sgx_stub.c sgx_detect_linux.c create_enclave.c
oc_alloc.c
\
third_party/intel/sgx_stub.c third_party/intel/sgx_detect_linux.c third_party/intel/create_enclave.c third_party/intel/
oc_alloc.c
\
ECDSAImpl.c TestUtils.cpp sgxwallet.c
ECDSAImpl.c TestUtils.cpp sgxwallet.c
COMMON_ENCLAVE_SRC
=
secure_enclave_u.c secure_enclave_u.h
COMMON_ENCLAVE_SRC
=
secure_enclave_u.c secure_enclave_u.h
...
@@ -117,4 +117,4 @@ cert_util_SOURCES= InvalidStateException.cpp Exception.cpp InvalidArgumentExcep
...
@@ -117,4 +117,4 @@ cert_util_SOURCES= InvalidStateException.cpp Exception.cpp InvalidArgumentExcep
cert_util_LDADD
=
-LlibBLS
/deps/deps_inst/x86_or_x64/lib
-Lleveldb
/build
-LlibBLS
/build
\
cert_util_LDADD
=
-LlibBLS
/deps/deps_inst/x86_or_x64/lib
-Lleveldb
/build
-LlibBLS
/build
\
-LlibBLS
/build/libff/libff
\
-LlibBLS
/build/libff/libff
\
-l
:libbls.a
-l
:libleveldb.a
\
-l
:libbls.a
-l
:libleveldb.a
\
-l
:libff.a
-lgmp
-ljsonrpccpp-stub
-ljsonrpccpp-server
-ljsonrpccpp-client
-ljsonrpccpp-common
-ljsoncpp
-lmicrohttpd
-lgnutls
-lgcrypt
-lcurl
-lssl
-lcrypto
-lz
-lpthread
-ldl
-l
:libff.a
-lgmp
-ljsonrpccpp-stub
-ljsonrpccpp-server
-ljsonrpccpp-client
-ljsonrpccpp-common
-ljsoncpp
-lmicrohttpd
-lgnutls
-lgcrypt
-lcurl
-lssl
-lcrypto
-lz
-lpthread
-ldl
\ No newline at end of file
ServerInit.cpp
View file @
12367212
...
@@ -42,9 +42,9 @@
...
@@ -42,9 +42,9 @@
#include "BLSPrivateKeyShareSGX.h"
#include "BLSPrivateKeyShareSGX.h"
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include "sgxwallet.h"
#include "sgxwallet.h"
#include "LevelDB.h"
#include "LevelDB.h"
#include "SGXWalletServer.h"
#include "SGXWalletServer.h"
...
...
TestUtils.cpp
View file @
12367212
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
#include <libff/algebra/fields/fp.hpp>
#include <libff/algebra/fields/fp.hpp>
#include <dkg/dkg.h>
#include <dkg/dkg.h>
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include <gmp.h>
#include <gmp.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
#include <stdio.h>
#include <stdio.h>
...
...
TestUtils.h
View file @
12367212
...
@@ -32,9 +32,9 @@
...
@@ -32,9 +32,9 @@
#include <libff/algebra/fields/fp.hpp>
#include <libff/algebra/fields/fp.hpp>
#include <dkg/dkg.h>
#include <dkg/dkg.h>
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include <gmp.h>
#include <gmp.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
#include <stdio.h>
#include <stdio.h>
...
...
secure_enclave/Makefile.am
View file @
12367212
...
@@ -61,7 +61,6 @@ ENCLAVE_KEY=test_insecure_private_key.pem #$(ENCLAVE)_private.pem
...
@@ -61,7 +61,6 @@ ENCLAVE_KEY=test_insecure_private_key.pem #$(ENCLAVE)_private.pem
## Additional Automake flags needed to build the enclave.
## Additional Automake flags needed to build the enclave.
## ## -I./trusted_libff -I../trusted_libff
AM_CPPFLAGS
+=
-Wall
-Wno-implicit-function-declaration
$(TGMP_CPPFLAGS)
-I
./third_party/SCIPR
-I
../third_party/SCIPR
-I
../sgx-sdk-build/sgxsdk/include/libcxx
\
AM_CPPFLAGS
+=
-Wall
-Wno-implicit-function-declaration
$(TGMP_CPPFLAGS)
-I
./third_party/SCIPR
-I
../third_party/SCIPR
-I
../sgx-sdk-build/sgxsdk/include/libcxx
\
-I
../intel-sgx-ssl/Linux/package/include
-I
../intel-sgx-ssl/Linux/package/include
...
...
sgxwallet.h
View file @
12367212
...
@@ -26,9 +26,9 @@
...
@@ -26,9 +26,9 @@
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include <gmp.h>
#include <gmp.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
...
...
testw.cpp
View file @
12367212
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
#include <libff/algebra/fields/fp.hpp>
#include <libff/algebra/fields/fp.hpp>
#include <dkg/dkg.h>
#include <dkg/dkg.h>
#include "sgxwallet_common.h"
#include "sgxwallet_common.h"
#include "create_enclave.h"
#include "
third_party/intel/
create_enclave.h"
#include "secure_enclave_u.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
#include "
third_party/intel/
sgx_detect.h"
#include <gmp.h>
#include <gmp.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
#include <stdio.h>
#include <stdio.h>
...
...
create_enclave.c
→
third_party/intel/
create_enclave.c
View file @
12367212
...
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
*/
#include "create_enclave.h"
#include "create_enclave.h"
#include "sgx_stub.h"
#include "
third_party/intel/
sgx_stub.h"
#include <limits.h>
#include <limits.h>
#include <stdio.h>
#include <stdio.h>
#include <sgx_urts.h>
#include <sgx_urts.h>
...
...
create_enclave.h
→
third_party/intel/
create_enclave.h
View file @
12367212
File moved
oc_alloc.c
→
third_party/intel/
oc_alloc.c
View file @
12367212
File moved
sgx_detect.h
→
third_party/intel/
sgx_detect.h
View file @
12367212
File moved
sgx_detect_linux.c
→
third_party/intel/
sgx_detect_linux.c
View file @
12367212
...
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
...
@@ -32,7 +32,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <sgx_urts.h>
#include <sgx_urts.h>
#include <sgx_capable.h>
#include <sgx_capable.h>
#include <stdio.h>
#include <stdio.h>
#include "sgx_stub.h"
#include "
third_party/intel/
sgx_stub.h"
#include "sgx_detect.h"
#include "sgx_detect.h"
unsigned
long
sgx_support
=
SGX_SUPPORT_UNKNOWN
;
unsigned
long
sgx_support
=
SGX_SUPPORT_UNKNOWN
;
...
...
sgx_stub.c
→
third_party/intel/
sgx_stub.c
View file @
12367212
File moved
sgx_stub.h
→
third_party/intel/
sgx_stub.h
View file @
12367212
File moved
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment