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
41acaebb
Unverified
Commit
41acaebb
authored
Feb 22, 2020
by
Chadwick Strange
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into enhancement/documentation
parents
479b2abb
5fd5d025
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
1182 additions
and
1192 deletions
+1182
-1192
Dockerfile
Dockerfile
+1
-1
DockerfileSimulation
DockerfileSimulation
+1
-0
codacy.yml
codacy.yml
+4
-0
secure_enclave.c
secure_enclave/secure_enclave.c
+1024
-997
secure_enclave.i
secure_enclave/secure_enclave.i
+1
-1
signature.c
secure_enclave/signature.c
+148
-190
signature.h
secure_enclave/signature.h
+2
-2
sgxwallet.c
sgxwallet.c
+1
-1
No files found.
Dockerfile
View file @
41acaebb
...
...
@@ -20,7 +20,7 @@ COPY m4 ./m4
COPY
scripts ./scripts
COPY
secure_enclave ./secure_enclave
COPY
spdlog ./spdlog
COPY
SGXWALLET_VERSION ./
RUN
autoreconf
-vif
RUN
libtoolize
--force
...
...
DockerfileSimulation
View file @
41acaebb
...
...
@@ -19,6 +19,7 @@ COPY m4 ./m4
COPY scripts ./scripts
COPY secure_enclave ./secure_enclave
COPY spdlog ./spdlog
COPY SGXWALLET_VERSION ./
RUN autoreconf -vif
RUN libtoolize --force
...
...
codacy.yml
0 → 100644
View file @
41acaebb
---
exclude_paths
:
-
'
scripts/**'
-
'
.github/**'
secure_enclave/secure_enclave.c
View file @
41acaebb
This diff is collapsed.
Click to expand it.
secure_enclave/secure_enclave.i
View file @
41acaebb
...
...
@@ -6532,7 +6532,7 @@ void signature_copy(signature R, signature sig);
_Bool signature_cmp(signature sig1, signature sig2);
void signature_
clear
(signature sig);
void signature_
free
(signature sig);
void signature_generate_key(point public_key, mpz_t private_key, domain_parameters curve);
...
...
secure_enclave/signature.c
View file @
41acaebb
This diff is collapsed.
Click to expand it.
secure_enclave/signature.h
View file @
41acaebb
...
...
@@ -53,10 +53,10 @@ void signature_copy(signature R, signature sig);
bool
signature_cmp
(
signature
sig1
,
signature
sig2
);
/*Release signature*/
void
signature_
clear
(
signature
sig
);
void
signature_
free
(
signature
sig
);
/*Generates a public key for a private key*/
void
signature_
generate
_key
(
point
public_key
,
mpz_t
private_key
,
domain_parameters
curve
);
void
signature_
extract_public
_key
(
point
public_key
,
mpz_t
private_key
,
domain_parameters
curve
);
/*Generate signature for a message*/
void
signature_sign
(
signature
sig
,
mpz_t
message
,
mpz_t
private_key
,
domain_parameters
curve
);
...
...
sgxwallet.c
View file @
41acaebb
...
...
@@ -97,7 +97,7 @@ int main(int argc, char *argv[]) {
is_sgx_https
=
0
;
break
;
case
'a'
:
is_aes
=
0
;
is_aes
=
1
;
break
;
case
'b'
:
SEK_initializer
=
enter_SEK
;
...
...
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