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
70097647
Unverified
Commit
70097647
authored
Sep 07, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-3228
parent
7906ecc1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
EnclaveCommon.cpp
secure_enclave/EnclaveCommon.cpp
+5
-0
No files found.
secure_enclave/EnclaveCommon.cpp
View file @
70097647
...
@@ -175,12 +175,17 @@ void enclave_init() {
...
@@ -175,12 +175,17 @@ void enclave_init() {
LOG_INFO
(
"Initing libff"
);
LOG_INFO
(
"Initing libff"
);
try
{
try
{
LOG_INFO
(
"Initing params"
);
libff
::
init_alt_bn128_params
();
libff
::
init_alt_bn128_params
();
LOG_INFO
(
"Initing curve"
);
curve
=
domain_parameters_init
();
curve
=
domain_parameters_init
();
LOG_INFO
(
"Initing curve domain"
);
domain_parameters_load_curve
(
curve
,
secp256k1
);
domain_parameters_load_curve
(
curve
,
secp256k1
);
}
catch
(
exception
&
e
)
{
}
catch
(
exception
&
e
)
{
LOG_ERROR
(
"Exception in libff init"
);
LOG_ERROR
(
"Exception in libff init"
);
LOG_ERROR
(
e
.
what
());
LOG_ERROR
(
e
.
what
());
}
catch
(...)
{
LOG_ERROR
(
"Unknown exception in libff"
);
}
}
LOG_INFO
(
"Inited libff"
);
LOG_INFO
(
"Inited libff"
);
}
}
...
...
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