<?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 Thanks a lot, Juan for your in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124864#M1702</link>
    <description>&lt;P&gt;Thanks a lot, Juan for your reply.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jan 2017 16:52:07 GMT</pubDate>
    <dc:creator>ANter_F_</dc:creator>
    <dc:date>2017-01-12T16:52:07Z</dc:date>
    <item>
      <title>facing a problem with Hardware Mode (Release build) please help!</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124862#M1700</link>
      <description>&lt;P&gt;Hello there!&lt;/P&gt;

&lt;P&gt;I'm executing the Intel SGX sample codes in Hardware Mode (Debug and Prerelease) successfully, but when I try to execute the sample codes in&amp;nbsp; Hardware Mode (Release build)&amp;nbsp; I get the following error!&lt;/P&gt;

&lt;P&gt;xidian@xidian-ThinkPad-T460:~/SDK1.7/SampleCode/SampleEnclave$ make clean&lt;BR /&gt;
	xidian@xidian-ThinkPad-T460:~/SDK1.7/SampleCode/SampleEnclave$ make SGX_DEBUG=0&lt;BR /&gt;
	GEN&amp;nbsp; =&amp;gt;&amp;nbsp; App/Enclave_u.c&lt;BR /&gt;
	CC&amp;nbsp;&amp;nbsp; &amp;lt;=&amp;nbsp; App/Enclave_u.c&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/App.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/Edger8rSyntax/Arrays.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/Edger8rSyntax/Functions.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/Edger8rSyntax/Pointers.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/Edger8rSyntax/Types.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/TrustedLibrary/Libc.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/TrustedLibrary/Libcxx.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; App/TrustedLibrary/Thread.cpp&lt;BR /&gt;
	LINK =&amp;gt;&amp;nbsp; app&lt;BR /&gt;
	GEN&amp;nbsp; =&amp;gt;&amp;nbsp; Enclave/Enclave_t.c&lt;BR /&gt;
	CC&amp;nbsp;&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Enclave_t.c&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Enclave.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Edger8rSyntax/Arrays.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Edger8rSyntax/Functions.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Edger8rSyntax/Pointers.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/Edger8rSyntax/Types.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/TrustedLibrary/Libc.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/TrustedLibrary/Libcxx.cpp&lt;BR /&gt;
	CXX&amp;nbsp; &amp;lt;=&amp;nbsp; Enclave/TrustedLibrary/Thread.cpp&lt;BR /&gt;
	LINK =&amp;gt;&amp;nbsp; enclave.so&lt;BR /&gt;
	The project has been built in release hardware mode.&lt;BR /&gt;
	Please sign the enclave.so first with your signing key before you run the app to launch and access the enclave.&lt;BR /&gt;
	To sign the enclave use the command:&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp; /opt/intel/sgxsdk/bin/x64/sgx_sign sign -key &amp;lt;your key&amp;gt; -enclave enclave.so -out &amp;lt;enclave.signed.so&amp;gt; -config Enclave/Enclave.config.xml&lt;BR /&gt;
	You can also sign the enclave using an external signing tool.&lt;BR /&gt;
	To build the project in simulation mode set SGX_MODE=SIM. To build the project in prerelease mode set SGX_PRERELEASE=1 and SGX_MODE=HW.&lt;BR /&gt;
	xidian@xidian-ThinkPad-T460:~/SDK1.7/SampleCode/SampleEnclave$ /opt/intel/sgxsdk/bin/x64/sgx_sign sign -key Enclave/Enclave_private.pem -enclave enclave.so -out enclave.signed.so -config Enclave/Enclave.config.xml&lt;BR /&gt;
	&amp;lt;EnclaveConfiguration&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ProdID&amp;gt;0&amp;lt;/ProdID&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;ISVSVN&amp;gt;0&amp;lt;/ISVSVN&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;StackMaxSize&amp;gt;0x40000&amp;lt;/StackMaxSize&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;HeapMaxSize&amp;gt;0x100000&amp;lt;/HeapMaxSize&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TCSNum&amp;gt;10&amp;lt;/TCSNum&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;TCSPolicy&amp;gt;1&amp;lt;/TCSPolicy&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;DisableDebug&amp;gt;0&amp;lt;/DisableDebug&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MiscSelect&amp;gt;0&amp;lt;/MiscSelect&amp;gt;&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;MiscMask&amp;gt;0xFFFFFFFF&amp;lt;/MiscMask&amp;gt;&lt;BR /&gt;
	&amp;lt;/EnclaveConfiguration&amp;gt;&lt;BR /&gt;
	Succeed.&lt;BR /&gt;
	xidian@xidian-ThinkPad-T460:~/SDK1.7/SampleCode/SampleEnclave$ ./app&lt;BR /&gt;
	Error: Unexpected error occurred.&lt;BR /&gt;
	Enter a character before exit ...&lt;/P&gt;

&lt;P&gt;------------------------------------------&lt;/P&gt;

&lt;P&gt;Please tell me the Correct way to execute the sample codes using HW mode (Release build) ...&lt;/P&gt;

&lt;P&gt;------------------------------------------&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;My execution environment is as follows:&lt;/STRONG&gt;&lt;BR /&gt;
	&lt;STRONG&gt;PC:&lt;/STRONG&gt; Lenovo ThinkPad T460&lt;BR /&gt;
	&lt;STRONG&gt;CPU:&lt;/STRONG&gt; Intel Core-i7-6500U&lt;BR /&gt;
	&lt;STRONG&gt;OS:&lt;/STRONG&gt; Ubuntu 14.04 LTS&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;SGX ARCH&lt;/STRONG&gt;: X64&lt;BR /&gt;
	Intel SGX Driver, PSW, SDK version: 1.7&lt;/P&gt;</description>
      <pubDate>Thu, 05 Jan 2017 04:42:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124862#M1700</guid>
      <dc:creator>ANter_F_</dc:creator>
      <dc:date>2017-01-05T04:42:27Z</dc:date>
    </item>
    <item>
      <title>If you want to run a (release</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124863#M1701</link>
      <description>&lt;P&gt;If you want to run a (release build) enclave, you need to have your enclave signing key white-listed. Read the documentation (Developer Reference) for additional details.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Jan 2017 20:07:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124863#M1701</guid>
      <dc:creator>Juan_d_Intel</dc:creator>
      <dc:date>2017-01-09T20:07:01Z</dc:date>
    </item>
    <item>
      <title>Thanks a lot, Juan for your</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124864#M1702</link>
      <description>&lt;P&gt;Thanks a lot, Juan for your reply.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jan 2017 16:52:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/facing-a-problem-with-Hardware-Mode-Release-build-please-help/m-p/1124864#M1702</guid>
      <dc:creator>ANter_F_</dc:creator>
      <dc:date>2017-01-12T16:52:07Z</dc:date>
    </item>
  </channel>
</rss>

