<?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 Re:AES-128 inside an enclave using USER_CHECK in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219076#M4039</link>
    <description>&lt;P&gt;Hi Bianca,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Was the sample code I sent you earlier helpful to you?&lt;/P&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Oct 2020 18:20:52 GMT</pubDate>
    <dc:creator>JesusG_Intel</dc:creator>
    <dc:date>2020-10-19T18:20:52Z</dc:date>
    <item>
      <title>AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1217736#M4032</link>
      <description>&lt;P&gt;Hi, in&amp;nbsp;&lt;A href="https://medium.com/@danny_harnik/impressions-of-intel-sgx-performance-22442093595a" target="_self"&gt;Impression of Intel SGX Performance&lt;/A&gt;&amp;nbsp;the authors generate some benchmarks to analyse the performance of a program encrypting data inside the enclaves using AES-128. They say that both the in buffer and the out buffer are declared using 'USER_CHECK'. But how can you do that? I have a program that does the same thing, but I declare my parameters using [in, out]. When I try to switch to 'USER_CHECK', the enclave in buffer is empty after calling the function. How do you copy an 'USER_CHECK' pointer memory to the enclave and back to the untrusted memory?&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 20:14:55 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1217736#M4032</guid>
      <dc:creator>bianca</dc:creator>
      <dc:date>2020-10-14T20:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1217779#M4033</link>
      <description>&lt;P&gt;Hello Bianca,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The sample solution that is attached to the bottom of this article, &lt;A href="https://software.intel.com/content/www/us/en/develop/articles/intel-software-guard-extensions-tutorial-part-7-refining-the-enclave.html" target="_blank" rel="noopener"&gt;https://software.intel.com/content/www/us/en/develop/articles/intel-software-guard-extensions-tutorial-part-7-refining-the-enclave.html&lt;/A&gt;, has several functions that are declared with&lt;I&gt; [user_check]&lt;/I&gt; in the EDL. Check the EDL file in the Enclave project. You will find the user_check functions in Enclave.cpp.&lt;/P&gt;
&lt;P&gt;The article also explains how it uses the &lt;EM&gt;user_check&lt;/EM&gt; parameter.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 14 Oct 2020 22:20:58 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1217779#M4033</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-14T22:20:58Z</dc:date>
    </item>
    <item>
      <title>Re:AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219076#M4039</link>
      <description>&lt;P&gt;Hi Bianca,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Was the sample code I sent you earlier helpful to you?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Oct 2020 18:20:52 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219076#M4039</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-19T18:20:52Z</dc:date>
    </item>
    <item>
      <title>Re: Re:AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219442#M4040</link>
      <description>&lt;P&gt;Hi Jesus,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe it did in the sense that it is working, but I am still confused about the performance. Because when I change the data in buffer pointer from [in, out] to [user_check] and copy this plain text data to the enclave, it takes 3 times longer to perform the overall computation. My buffer in pointer is [user_check] flagged and the buffer out is [in, out] as from my understanding the enclave environment cannot read the enclave content, it must be crossed through the proxy bridge.&lt;/P&gt;
&lt;P&gt;In the developer reference, it says it should be the other way around, but there is a massive difference between my benchmarks (100-150 MB/sec) vs the one from the link that I sent (1000-2000 MB/sec).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Oct 2020 15:52:49 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219442#M4040</guid>
      <dc:creator>bianca</dc:creator>
      <dc:date>2020-10-20T15:52:49Z</dc:date>
    </item>
    <item>
      <title>Re:AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219489#M4041</link>
      <description>&lt;P&gt;Hello Bianca,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;In both the Intel code sample and the paper, the authors used [user_check] for both the input and output buffers in the ECALL. See this excerpt from the Intel article:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;The original EDL for&amp;nbsp;&lt;I&gt;ve_load_vault()&lt;/I&gt;&amp;nbsp;and&amp;nbsp;&lt;I&gt;ve_get_vault()&lt;/I&gt;&amp;nbsp;looks like this:&lt;/P&gt;&lt;P&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;public&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;int&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; ve_load_vault ([in, count=len] &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;unsigned&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;char&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; *edata, &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;uint32_t&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; len);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;public&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;int&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; ve_get_vault ([out, count=len] &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;unsigned&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;char&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; *edata, &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;uint32_t&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; len);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Rewriting these to specify&amp;nbsp;&lt;SPAN style="font-family: &amp;quot;Courier New&amp;quot;, &amp;quot;DejaVu Sans Mono&amp;quot;, monospace, sans-serif;"&gt;user_check&lt;/SPAN&gt;&amp;nbsp;results in the following:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;public&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;int&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; ve_load_vault ([user_check] &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;unsigned&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;char&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; *edata);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;public&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;int&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; ve_get_vault ([user_check] &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;unsigned&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;char&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; *edata, &lt;/SPAN&gt;&lt;B style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt;uint32_t&lt;/B&gt;&lt;SPAN style="font-family: Consolas, &amp;quot;Bitstream Vera Sans Mono&amp;quot;, &amp;quot;Courier New&amp;quot;, Courier, monospace; font-size: inherit;"&gt; len);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 20 Oct 2020 18:24:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1219489#M4041</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-20T18:24:48Z</dc:date>
    </item>
    <item>
      <title>Re:AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1223005#M4061</link>
      <description>&lt;P&gt;Hi Bianca,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Do you still need help with this issue?&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Oct 2020 20:51:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1223005#M4061</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-26T20:51:30Z</dc:date>
    </item>
    <item>
      <title>Re:AES-128 inside an enclave using USER_CHECK</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1223982#M4076</link>
      <description>&lt;P&gt;&lt;B&gt;Intel is no longer monitoring this thread. If you want a response from Intel in a follow-up question, please open a new thread.&lt;/B&gt;&lt;/P&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 29 Oct 2020 23:52:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/AES-128-inside-an-enclave-using-USER-CHECK/m-p/1223982#M4076</guid>
      <dc:creator>JesusG_Intel</dc:creator>
      <dc:date>2020-10-29T23:52:18Z</dc:date>
    </item>
  </channel>
</rss>

