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
ffa39b7b
Unverified
Commit
ffa39b7b
authored
May 26, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-1880-fix-warnings
parent
427bfa5e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
0 deletions
+8
-0
DomainParameters.c
secure_enclave/DomainParameters.c
+4
-0
Point.c
secure_enclave/Point.c
+2
-0
Signature.c
secure_enclave/Signature.c
+2
-0
No files found.
secure_enclave/DomainParameters.c
View file @
ffa39b7b
...
...
@@ -94,6 +94,10 @@ void domain_parameters_set_hex(domain_parameters curve, char* name, char* p, cha
/*Release memory*/
void
domain_parameters_clear
(
domain_parameters
curve
)
{
if
(
!
curve
)
return
;
mpz_clear
(
curve
->
p
);
mpz_clear
(
curve
->
a
);
mpz_clear
(
curve
->
b
);
...
...
secure_enclave/Point.c
View file @
ffa39b7b
...
...
@@ -382,6 +382,8 @@ char* point_compress(point P)
/*Release point*/
void
point_clear
(
point
p
)
{
if
(
!
p
)
return
;
mpz_clear
(
p
->
x
);
mpz_clear
(
p
->
y
);
free
(
p
);
...
...
secure_enclave/Signature.c
View file @
ffa39b7b
...
...
@@ -179,6 +179,8 @@ void signature_sign(signature sig, mpz_t message, mpz_t private_key, domain_para
/*Release signature*/
void
signature_free
(
signature
sig
)
{
if
(
!
sig
)
return
;
mpz_clear
(
sig
->
r
);
mpz_clear
(
sig
->
s
);
free
(
sig
);
...
...
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