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
d0a72fb0
Unverified
Commit
d0a72fb0
authored
Sep 04, 2019
by
a72d9e2bad9edfd58d6c0248c12c953b71d409d2
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Renamed sgxd to sgxwallet
parent
c5754870
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
13 additions
and
13 deletions
+13
-13
BLSCrypto.cpp
BLSCrypto.cpp
+1
-1
BLSPrivateKeyShareSGX.cpp
BLSPrivateKeyShareSGX.cpp
+2
-2
Makefile.am
Makefile.am
+5
-5
BLSUtils.cpp
secure_enclave/BLSUtils.cpp
+1
-1
secure_enclave.c
secure_enclave/secure_enclave.c
+2
-2
sgxwallet.c
sgxwallet.c
+2
-2
sgxwallet.h
sgxwallet.h
+0
-0
sgxwallet_common.h
sgxwallet_common.h
+0
-0
No files found.
BLSCrypto.cpp
View file @
d0a72fb0
...
...
@@ -13,7 +13,7 @@
#include <jsonrpccpp/server/connectors/httpserver.h>
#include "BLSPrivateKeyShareSGX.h"
#include "sgx
d
_common.h"
#include "sgx
wallet
_common.h"
#include "BLSCrypto.h"
...
...
BLSPrivateKeyShareSGX.cpp
View file @
d0a72fb0
...
...
@@ -28,8 +28,8 @@ using namespace std;
#include "BLSutils.h"
#include "secure_enclave_u.h"
#include "sgx
d
_common.h"
#include "sgx
d
.h"
#include "sgx
wallet
_common.h"
#include "sgx
wallet
.h"
#include "BLSCrypto.h"
...
...
Makefile.am
View file @
d0a72fb0
...
...
@@ -56,7 +56,7 @@ CLEANFILES = $(COMMON_ENCLAVE_SRC) secure_enclave.edl \
## The build target
bin_PROGRAMS
=
sgx
d
bin_PROGRAMS
=
sgx
wallet
## You can't use $(wildcard ...) with automake so all source files
...
...
@@ -65,9 +65,9 @@ bin_PROGRAMS = sgxd
COMMON_SRC
=
sgx_stub.c sgx_detect_linux.c create_enclave.c oc_alloc.c
COMMON_ENCLAVE_SRC
=
secure_enclave_u.c secure_enclave_u.h
sgx
d_SOURCES
=
sgxd
.c BLSCrypto.cpp BLSPrivateKeyShareSGX.cpp
$(COMMON_SRC)
nodist_sgx
d
_SOURCES
=
$(COMMON_ENCLAVE_SRC)
EXTRA_sgx
d
_DEPENDENCIES
=
secure_enclave.signed.so
sgx
wallet_SOURCES
=
sgxwallet
.c BLSCrypto.cpp BLSPrivateKeyShareSGX.cpp
$(COMMON_SRC)
nodist_sgx
wallet
_SOURCES
=
$(COMMON_ENCLAVE_SRC)
EXTRA_sgx
wallet
_DEPENDENCIES
=
secure_enclave.signed.so
BUILT_SOURCES
=
$(COMMON_ENCLAVE_SRC)
AM_LDFLAGS
+=
$(GMP_LDFLAGS)
...
...
@@ -87,5 +87,5 @@ secure_enclave.signed.so: secure_enclave/secure_enclave.signed.so
## Use the variables, not the actual library names to ensure these
## targets work on simulation builds.
sgx
d
_LDADD
=
-l
$(SGX_URTS_LIB)
-Lleveldb
/build
-LlibBLS
/build
-LlibBLS
/build/libff/libff
-l
:libbls.a
-l
:libleveldb.a
-l
:libff.a
-lgmp
-ldl
-l
:libsgx_capable.a
-l
:libsgx_tprotected_fs.a
-lpthread
-ljsonrpccpp-common
-ljsonrpccpp-server
-ljsonrpccpp-stub
-lprocps
sgx
wallet
_LDADD
=
-l
$(SGX_URTS_LIB)
-Lleveldb
/build
-LlibBLS
/build
-LlibBLS
/build/libff/libff
-l
:libbls.a
-l
:libleveldb.a
-l
:libff.a
-lgmp
-ldl
-l
:libsgx_capable.a
-l
:libsgx_tprotected_fs.a
-lpthread
-ljsonrpccpp-common
-ljsonrpccpp-server
-ljsonrpccpp-stub
-lprocps
secure_enclave/BLSUtils.cpp
View file @
d0a72fb0
...
...
@@ -5,7 +5,7 @@
#define GMP_WITH_SGX
#include <string.h>
#include <cstdint>
#include "../sgx
d
_common.h"
#include "../sgx
wallet
_common.h"
#include "BLSUtils.h"
...
...
secure_enclave/secure_enclave.c
View file @
d0a72fb0
...
...
@@ -48,7 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <openssl/rand.h>
#include "tSgxSSL_api.h"
#include "../sgx
d
_common.h"
#include "../sgx
wallet
_common.h"
void
*
(
*
gmp_realloc_func
)(
void
*
,
size_t
,
size_t
);
void
*
(
*
oc_realloc_func
)(
void
*
,
size_t
,
size_t
);
...
...
@@ -342,4 +342,4 @@ void ecdsa_sign_message(int *err_status, char *err_string, uint8_t *encrypted_k
*
err_status
=
0
;
}
\ No newline at end of file
}
sgx
d
.c
→
sgx
wallet
.c
View file @
d0a72fb0
...
...
@@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "sgx
d
_common.h"
#include "sgx
wallet
_common.h"
#include "create_enclave.h"
#include "secure_enclave_u.h"
#include "sgx_detect.h"
...
...
@@ -45,7 +45,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
void
usage
()
{
fprintf
(
stderr
,
"usage: sgx
d
\n
"
);
fprintf
(
stderr
,
"usage: sgx
wallet
\n
"
);
exit
(
1
);
}
...
...
sgx
d
.h
→
sgx
wallet
.h
View file @
d0a72fb0
File moved
sgx
d
_common.h
→
sgx
wallet
_common.h
View file @
d0a72fb0
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