<?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/Key-exchange-failed-by-using-sgx-ecc256/m-p/1113506#M1375</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px; line-height: 21px;"&gt;The inputs and outputs of the crypto functions in the SGX SDK are in little endian format.&amp;nbsp; For sgx_ecc256_compute_shared_dhkey, the x and y components of sgx_ec256_dh_shared512_t public_key need to be inputted in little endian format.&amp;nbsp; If the server libraries crypto library outputs the public key in big endian format, be sure to reverse the endianness.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px; line-height: 21px;"&gt;-Surenthar&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 10 Sep 2016 11:56:01 GMT</pubDate>
    <dc:creator>Surenthar_S_Intel</dc:creator>
    <dc:date>2016-09-10T11:56:01Z</dc:date>
    <item>
      <title>Key exchange failed by using sgx_ecc256</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Key-exchange-failed-by-using-sgx-ecc256/m-p/1113505#M1374</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I am running into a problem when I am calling sgx_ecc256_compute_shared_dhkey by using a public key from sever.&lt;/P&gt;

&lt;P&gt;I build a sever outside which is using dh algorithm, do key exchange with enclave. The function of sgx_ecc256_compute_shared_dhkey inside enclave wont take the public key transmitted from sever as the right input.&lt;/P&gt;

&lt;P&gt;Is there any idea how could I generate the right public key from server to satisfy the requirement?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Thanks a lot for anyone's help!&lt;/P&gt;</description>
      <pubDate>Sat, 27 Aug 2016 00:33:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Key-exchange-failed-by-using-sgx-ecc256/m-p/1113505#M1374</guid>
      <dc:creator>Wang__Huibo</dc:creator>
      <dc:date>2016-08-27T00:33:50Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Key-exchange-failed-by-using-sgx-ecc256/m-p/1113506#M1375</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px; line-height: 21px;"&gt;The inputs and outputs of the crypto functions in the SGX SDK are in little endian format.&amp;nbsp; For sgx_ecc256_compute_shared_dhkey, the x and y components of sgx_ec256_dh_shared512_t public_key need to be inputted in little endian format.&amp;nbsp; If the server libraries crypto library outputs the public key in big endian format, be sure to reverse the endianness.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="color: rgb(0, 0, 0); font-family: &amp;quot;Helvetica Neue&amp;quot;, Helvetica, Arial, &amp;quot;Lucida Grande&amp;quot;, sans-serif; font-size: 14px; line-height: 21px;"&gt;-Surenthar&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Sep 2016 11:56:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Key-exchange-failed-by-using-sgx-ecc256/m-p/1113506#M1375</guid>
      <dc:creator>Surenthar_S_Intel</dc:creator>
      <dc:date>2016-09-10T11:56:01Z</dc:date>
    </item>
  </channel>
</rss>

