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
265d8fa5
Unverified
Commit
265d8fa5
authored
Aug 09, 2020
by
kladko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SKALE-3067-cleanup-sgx
parent
7c69b319
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
9 deletions
+8
-9
EnclaveCommon.cpp
secure_enclave/EnclaveCommon.cpp
+3
-5
secure_enclave.config.xml
secure_enclave/secure_enclave.config.xml
+5
-4
No files found.
secure_enclave/EnclaveCommon.cpp
View file @
265d8fa5
...
...
@@ -36,13 +36,11 @@
using
namespace
std
;
thread_local
uint8_t
*
decryptedDkgPoly1
=
nullptr
;
thread_local
uint8_t
decryptedDkgPoly
[
DKG_BUFER_LENGTH
]
;
uint8_t
*
getThreadLocalDecryptedDkgPoly
()
{
if
(
decryptedDkgPoly1
==
nullptr
)
{
decryptedDkgPoly1
=
(
uint8_t
*
)
calloc
(
DKG_BUFER_LENGTH
,
1
);
}
return
decryptedDkgPoly1
;
return
decryptedDkgPoly
;
}
...
...
secure_enclave/secure_enclave.config.xml
View file @
265d8fa5
<EnclaveConfiguration>
<ProdID>
0
</ProdID>
<ISVSVN>
0
</ISVSVN>
<StackMaxSize>
0x100000
</StackMaxSize>
<StackMaxSize>
0x100000
0
</StackMaxSize>
<HeapMaxSize>
0x1000000
</HeapMaxSize>
<TCSNum>
16
</TCSNum>
<TCSMaxNum>
16
</TCSMaxNum>
<TCSPolicy>
1
</TCSPolicy>
<TCSNum>
128
</TCSNum>
<TCSMaxNum>
128
</TCSMaxNum>
<TCSMinPool>
128
</TCSMinPool>
<TCSPolicy>
0
</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>
0
</DisableDebug>
<MiscSelect>
0
</MiscSelect>
...
...
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