<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re:How to create an Intel sgx2 enclave? in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1342860#M5054</link>
    <description>&lt;P&gt;Hello enclave_Research,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope the information I provided was helpful to you. Since we haven't heard from you, Intel will stop monitoring this thread. If you need further assistance, please open a new thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 09 Dec 2021 16:16:11 GMT</pubDate>
    <dc:creator>JesusG_Intel</dc:creator>
    <dc:date>2021-12-09T16:16:11Z</dc:date>
    <item>
      <title>How to create an Intel sgx2 enclave?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1340499#M5020</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;SGX SDK seems to be full of sgx1 enclave.How to create an Intel sgx2 enclave?&lt;/P&gt;</description>
      <pubDate>Wed, 01 Dec 2021 06:59:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1340499#M5020</guid>
      <dc:creator>enclave_Research</dc:creator>
      <dc:date>2021-12-01T06:59:10Z</dc:date>
    </item>
    <item>
      <title>Re:How to create an Intel sgx2 enclave?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1340703#M5023</link>
      <description>&lt;P&gt;Hello enclave_Research,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;SGX 2 instructions in SGX do three basic functions to allocate memory dynamically: expand heap, expand stack, create threads. These functions are implemented in the SGX driver, untrusted runtime, and trusted runtime. The only explicit action the enclave programmer must do to take advantage of these features is to set the following parameters in the Enclave Configuration File.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;StackMinSize&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier;"&gt;StackMaxSize&lt;/SPAN&gt;: Set the minimum and maximum stack size available to the enclave&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;HeapMinSize&lt;SPAN class="ql-cursor"&gt;﻿&lt;/SPAN&gt;&lt;/SPAN&gt;, &lt;SPAN style="font-family: courier;"&gt;HeapMaxSize&lt;/SPAN&gt;: Set the minimum and maximum heap size available to the enclave. &lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier;"&gt;TCSNum, TCSMaxNum, TCSMinPool&lt;/SPAN&gt;: used to determine how many threads will be created after the enclave initialization, and how many threads can be created dynamically when the enclave is running. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The SGX Developer Reference Guide for your operating system contains more details on these parameters.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Beyond that, write your enclave code and allocate memory as you normally would. The SGX driver, trusted runtime, and untrusted runtime handle the dynamic memory allocations as needed under the hood.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Section 6 Implementation of SGX2 Dynamic Memory Management in&lt;SPAN style="font-size: 12pt;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://caslab.csl.yale.edu/workshops/hasp2016/HASP16-17.pdf" rel="noopener noreferrer" target="_blank" style="font-size: 10pt;"&gt;Intel Software Guard Extensions Software Support for Dynamic Memory Allocation inside an Enclave&lt;/A&gt; further explains how the Intel SGX SDK implements dynamic memory management features.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I recommend you read that paper entirely to fully understand SGX 2.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Wed, 01 Dec 2021 21:40:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1340703#M5023</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-12-01T21:40:01Z</dc:date>
    </item>
    <item>
      <title>Re:How to create an Intel sgx2 enclave?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1341875#M5033</link>
      <description>&lt;P&gt;Hello enclave_research,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you still need help with this issue?&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Dec 2021 21:23:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1341875#M5033</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-12-06T21:23:14Z</dc:date>
    </item>
    <item>
      <title>Re:How to create an Intel sgx2 enclave?</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1342860#M5054</link>
      <description>&lt;P&gt;Hello enclave_Research,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I hope the information I provided was helpful to you. Since we haven't heard from you, Intel will stop monitoring this thread. If you need further assistance, please open a new thread.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Sincerely,&lt;/P&gt;&lt;P&gt;Jesus G.&lt;/P&gt;&lt;P&gt;Intel Customer Support&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 09 Dec 2021 16:16:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/How-to-create-an-Intel-sgx2-enclave/m-p/1342860#M5054</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2021-12-09T16:16:11Z</dc:date>
    </item>
  </channel>
</rss>

