<?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 Hi, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145350#M2417</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;Intel SGX is a set of CPU code instructions that allows&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;user-level code to allocate private regions of memory and the allocated memory needs to be minimal. The enclave size is 128 Mb and it is very small to load and entire application. And enclave must contain only the code that needs to be protected such as passwords,account numbers,financial information...to protect from&amp;nbsp;Os attacks. And if the application size is large and it has some system calls,which are not supported inside enclave then it cannot be used inside the enclave.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;But you can develop your application in such a way that no one can tamper with you data by storing all the critical functions inside the enclave.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Jul 2017 13:49:51 GMT</pubDate>
    <dc:creator>Anusha_K_Intel</dc:creator>
    <dc:date>2017-07-13T13:49:51Z</dc:date>
    <item>
      <title>Putting All application code in Enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145349#M2416</link>
      <description>&lt;P&gt;Hi, I'm studying Intel SGX and applying it to an application.&lt;/P&gt;

&lt;P&gt;And I am curious whether I can put all the application code in Enclave and run the application securely.&lt;/P&gt;

&lt;P&gt;I mean whether I could put the all existing application codes in Enclave (for example including main function and some projects of the visual studio solution)&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;If It could be put in Enclave, I want to know how to do it.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;

&lt;P&gt;Suin&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jul 2017 02:20:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145349#M2416</guid>
      <dc:creator>suin_k_</dc:creator>
      <dc:date>2017-07-12T02:20:02Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145350#M2417</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;Intel SGX is a set of CPU code instructions that allows&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;user-level code to allocate private regions of memory and the allocated memory needs to be minimal. The enclave size is 128 Mb and it is very small to load and entire application. And enclave must contain only the code that needs to be protected such as passwords,account numbers,financial information...to protect from&amp;nbsp;Os attacks. And if the application size is large and it has some system calls,which are not supported inside enclave then it cannot be used inside the enclave.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(34, 34, 34); font-family: sans-serif; font-size: 14px;"&gt;But you can develop your application in such a way that no one can tamper with you data by storing all the critical functions inside the enclave.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Jul 2017 13:49:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145350#M2417</guid>
      <dc:creator>Anusha_K_Intel</dc:creator>
      <dc:date>2017-07-13T13:49:51Z</dc:date>
    </item>
    <item>
      <title>Generally, a SGX Application</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145351#M2418</link>
      <description>&lt;P&gt;Generally, a SGX Application is partitioned into two parts, untrusted part and trusted part. Trusted part should include the code and data you want to protect. Untrusted part include normal code and data, as well as the code for managing enclave (load &amp;nbsp;and destroy enclave). So you can not put all of your code into enclave.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 01:47:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145351#M2418</guid>
      <dc:creator>you_w_</dc:creator>
      <dc:date>2017-07-14T01:47:12Z</dc:date>
    </item>
    <item>
      <title>Library OS enables unmodified</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145352#M2419</link>
      <description>&lt;P&gt;Library OS enables unmodified applications inside SGX. You could refer to Graphene-SGX for such a system on Linux.&lt;/P&gt;</description>
      <pubDate>Fri, 14 Jul 2017 14:26:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145352#M2419</guid>
      <dc:creator>yunfeng7854</dc:creator>
      <dc:date>2017-07-14T14:26:22Z</dc:date>
    </item>
    <item>
      <title>Thanks everyone</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145353#M2420</link>
      <description>&lt;P&gt;Thanks everyone&lt;/P&gt;

&lt;P&gt;I understood that it is hard to put the entire application inside the enclave.&lt;/P&gt;

&lt;P&gt;I have another question.&lt;/P&gt;

&lt;P&gt;Could I use global variable inside enclave securely?&lt;/P&gt;

&lt;P&gt;I checked that local variables of trusted function inside enclave were encrypted but global variables inside enclave were not encrypted.&lt;/P&gt;

&lt;P&gt;I thought the local variables were encrypted because the variables were used in the trusted functions defined in .edl file.&lt;/P&gt;

&lt;P&gt;I hope to know how to use the global variables in enclave if I could use them.&lt;/P&gt;

&lt;P&gt;Best regards&lt;/P&gt;

&lt;P&gt;Suin&lt;/P&gt;</description>
      <pubDate>Wed, 19 Jul 2017 05:43:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Putting-All-application-code-in-Enclave/m-p/1145353#M2420</guid>
      <dc:creator>suin_k_</dc:creator>
      <dc:date>2017-07-19T05:43:00Z</dc:date>
    </item>
  </channel>
</rss>

