Unverified Commit 265d8fa5 authored by kladko's avatar kladko

SKALE-3067-cleanup-sgx

parent 7c69b319
...@@ -36,13 +36,11 @@ ...@@ -36,13 +36,11 @@
using namespace std; using namespace std;
thread_local uint8_t* decryptedDkgPoly1 = nullptr; thread_local uint8_t decryptedDkgPoly[DKG_BUFER_LENGTH];
uint8_t* getThreadLocalDecryptedDkgPoly() { uint8_t* getThreadLocalDecryptedDkgPoly() {
if (decryptedDkgPoly1 == nullptr) {
decryptedDkgPoly1 = (uint8_t*) calloc(DKG_BUFER_LENGTH, 1); return decryptedDkgPoly;
}
return decryptedDkgPoly1;
} }
......
<EnclaveConfiguration> <EnclaveConfiguration>
<ProdID>0</ProdID> <ProdID>0</ProdID>
<ISVSVN>0</ISVSVN> <ISVSVN>0</ISVSVN>
<StackMaxSize>0x100000</StackMaxSize> <StackMaxSize>0x1000000</StackMaxSize>
<HeapMaxSize>0x1000000</HeapMaxSize> <HeapMaxSize>0x1000000</HeapMaxSize>
<TCSNum>16</TCSNum> <TCSNum>128</TCSNum>
<TCSMaxNum>16</TCSMaxNum> <TCSMaxNum>128</TCSMaxNum>
<TCSPolicy>1</TCSPolicy> <TCSMinPool>128</TCSMinPool>
<TCSPolicy>0</TCSPolicy>
<!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release --> <!-- Recommend changing 'DisableDebug' to 1 to make the enclave undebuggable for enclave release -->
<DisableDebug>0</DisableDebug> <DisableDebug>0</DisableDebug>
<MiscSelect>0</MiscSelect> <MiscSelect>0</MiscSelect>
......
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