<?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 Please do NOT use the sample in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161863#M2884</link>
    <description>&lt;P&gt;Please do NOT use the sample lib crypto in production code. Please see:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/01org/linux-sgx/blob/master/sdk/sample_libcrypto/sample_libcrypto.cpp"&gt;https://github.com/01org/linux-sgx/blob/master/sdk/sample_libcrypto/sample_libcrypto.cpp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And "find" &lt;SPAN class="pl-en"&gt;__do_get_rand32 before deciding whether this is a suitable library for production.&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 27 Nov 2017 17:47:10 GMT</pubDate>
    <dc:creator>Francisco_C_Intel</dc:creator>
    <dc:date>2017-11-27T17:47:10Z</dc:date>
    <item>
      <title>Sample Remote Attestation Code (sample_libcrypto.h) Query</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161862#M2883</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	I would like to clarify the sample_libcrypto.h header in the sample code for Remote Attestation. &amp;nbsp;Are the API's in that library working exactly the same as the ones in sgx_tcrypto library, e,g. sample_rijndael128GCM_encrypt the same as sgx_rijndael128GCM_encrypt? &amp;nbsp;The endianness of the API's are expected the same?&amp;nbsp;The point is, can I put the functions that use sample_libcrypto.h inside an enclave and change the references to sample_XXX APIs to sgx_XXX? &amp;nbsp;Would there be issues in that?&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks a lot!&lt;BR /&gt;
	&lt;BR /&gt;
	Kind Regards,&lt;BR /&gt;
	Elephant&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 23 Nov 2017 03:04:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161862#M2883</guid>
      <dc:creator>Elephant</dc:creator>
      <dc:date>2017-11-23T03:04:24Z</dc:date>
    </item>
    <item>
      <title>Please do NOT use the sample</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161863#M2884</link>
      <description>&lt;P&gt;Please do NOT use the sample lib crypto in production code. Please see:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://github.com/01org/linux-sgx/blob/master/sdk/sample_libcrypto/sample_libcrypto.cpp"&gt;https://github.com/01org/linux-sgx/blob/master/sdk/sample_libcrypto/sample_libcrypto.cpp&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;And "find" &lt;SPAN class="pl-en"&gt;__do_get_rand32 before deciding whether this is a suitable library for production.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Nov 2017 17:47:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161863#M2884</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2017-11-27T17:47:10Z</dc:date>
    </item>
    <item>
      <title>Hi Francisco,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161864#M2885</link>
      <description>&lt;P&gt;Hi Francisco,&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks for taking time to answer my question. &amp;nbsp;I know that sample lib crypto is not meant for production, that's why I was asking if I can do all the work inside an enclave and use the SGX crypto API's instead of using the sample lib crypto. &amp;nbsp;I wanted to know if sample_xxxx_xxxx API's map directly with sgx_xxxx_xxxx API's.&lt;BR /&gt;
	&lt;BR /&gt;
	Thanks a lot!&lt;BR /&gt;
	&lt;BR /&gt;
	Kind Regards,&lt;BR /&gt;
	Elephant&lt;/P&gt;</description>
      <pubDate>Tue, 28 Nov 2017 01:57:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Sample-Remote-Attestation-Code-sample-libcrypto-h-Query/m-p/1161864#M2885</guid>
      <dc:creator>Elephant</dc:creator>
      <dc:date>2017-11-28T01:57:10Z</dc:date>
    </item>
  </channel>
</rss>

