<?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 Currently, SGX supports 32 in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/32-bit-Enclave-Support/m-p/1153209#M2637</link>
    <description>&lt;P&gt;Currently, SGX supports 32-bit enclave running on Windows (&lt;A href="https://software.intel.com/en-us/documentation/sgx-developer-guide/use-of-large-addresses-for-32-bit-enclaves"&gt;https://software.intel.com/en-us/documentation/sgx-developer-guide/use-of-large-addresses-for-32-bit-enclaves&lt;/A&gt;) and not Linux.&lt;/P&gt;</description>
    <pubDate>Tue, 23 Jan 2018 23:40:12 GMT</pubDate>
    <dc:creator>Hoang_N_Intel</dc:creator>
    <dc:date>2018-01-23T23:40:12Z</dc:date>
    <item>
      <title>32-bit Enclave Support</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/32-bit-Enclave-Support/m-p/1153208#M2636</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I am interested in building a 32-bit enclave. It seemed most logical to do this on a 32-bit Ubuntu Desktop 16.04 LTS installation.&lt;/P&gt;

&lt;P&gt;As the installation guide indicates that only 64-bit installation packages are available, I decided to build 32-bit versions from source. With a few tweaks and fixes I was able to compile and install the PSW and SDK installation packages on my system. The SGX driver installed without issues.&lt;/P&gt;

&lt;P&gt;However, it seems that the prebuilt AE binaries that the PSW depends on are only distributed in a 64-bit version. This stops the aesmd service from starting, as the 64-bit AE enclaves cannot be loaded on a 32-bit system. Since they are signed by Intel, I cannot build a 32-bit version myself and therefore I am unable to test my enclaves in hardware mode.&lt;/P&gt;

&lt;P&gt;I was ultimately able to build and run 32-bit enclaves by using a 64-bit Ubuntu installation and installing the 32-bit SDK and 64-bit PSW on the machine. I then &lt;SPAN style="font-size: 13.008px;"&gt;manually&amp;nbsp;&lt;/SPAN&gt;replaced the 64-bit libsgx_urts.so&amp;nbsp; and libsgx_uae_service.so in /usr/lib/ with their 32 bit versions, but this feels a bit hacky.&lt;/P&gt;

&lt;P&gt;My questions are thus ultimately as follows&lt;/P&gt;

&lt;UL&gt;
	&lt;LI&gt;Is there a way to obtain 32-bit prebuilt AE binaries so I can develop and run enclaves in hardware mode on a 32-bit system?&lt;/LI&gt;
	&lt;LI&gt;If not, is there any support out of the box for building and running 32-bit enclaves in hardware mode on a 64-bit system?&lt;/LI&gt;
&lt;/UL&gt;

&lt;P&gt;Thanks in advance.&lt;/P&gt;</description>
      <pubDate>Tue, 07 Nov 2017 22:25:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/32-bit-Enclave-Support/m-p/1153208#M2636</guid>
      <dc:creator>hqx</dc:creator>
      <dc:date>2017-11-07T22:25:03Z</dc:date>
    </item>
    <item>
      <title>Currently, SGX supports 32</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/32-bit-Enclave-Support/m-p/1153209#M2637</link>
      <description>&lt;P&gt;Currently, SGX supports 32-bit enclave running on Windows (&lt;A href="https://software.intel.com/en-us/documentation/sgx-developer-guide/use-of-large-addresses-for-32-bit-enclaves"&gt;https://software.intel.com/en-us/documentation/sgx-developer-guide/use-of-large-addresses-for-32-bit-enclaves&lt;/A&gt;) and not Linux.&lt;/P&gt;</description>
      <pubDate>Tue, 23 Jan 2018 23:40:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/32-bit-Enclave-Support/m-p/1153209#M2637</guid>
      <dc:creator>Hoang_N_Intel</dc:creator>
      <dc:date>2018-01-23T23:40:12Z</dc:date>
    </item>
  </channel>
</rss>

