Renamed sgxd to sgxwallet

parent c5754870
......@@ -13,7 +13,7 @@
#include <jsonrpccpp/server/connectors/httpserver.h>
#include "BLSPrivateKeyShareSGX.h"
#include "sgxd_common.h"
#include "sgxwallet_common.h"
#include "BLSCrypto.h"
......
......@@ -28,8 +28,8 @@ using namespace std;
#include "BLSutils.h"
#include "secure_enclave_u.h"
#include "sgxd_common.h"
#include "sgxd.h"
#include "sgxwallet_common.h"
#include "sgxwallet.h"
#include "BLSCrypto.h"
......
......@@ -56,7 +56,7 @@ CLEANFILES = $(COMMON_ENCLAVE_SRC) secure_enclave.edl \
## The build target
bin_PROGRAMS = sgxd
bin_PROGRAMS = sgxwallet
## 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
sgxd_SOURCES = sgxd.c BLSCrypto.cpp BLSPrivateKeyShareSGX.cpp $(COMMON_SRC)
nodist_sgxd_SOURCES = $(COMMON_ENCLAVE_SRC)
EXTRA_sgxd_DEPENDENCIES = secure_enclave.signed.so
sgxwallet_SOURCES = sgxwallet.c BLSCrypto.cpp BLSPrivateKeyShareSGX.cpp $(COMMON_SRC)
nodist_sgxwallet_SOURCES = $(COMMON_ENCLAVE_SRC)
EXTRA_sgxwallet_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.
sgxd_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
sgxwallet_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
......@@ -5,7 +5,7 @@
#define GMP_WITH_SGX
#include <string.h>
#include <cstdint>
#include "../sgxd_common.h"
#include "../sgxwallet_common.h"
#include "BLSUtils.h"
......
......@@ -48,7 +48,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <openssl/rand.h>
#include "tSgxSSL_api.h"
#include "../sgxd_common.h"
#include "../sgxwallet_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
}
......@@ -31,7 +31,7 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
#include "sgxd_common.h"
#include "sgxwallet_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: sgxd\n");
fprintf(stderr, "usage: sgxwallet\n");
exit(1);
}
......
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