<?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 Attribute: countThe count in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Parse-Error-while-using-fixed-array-in-ECALL/m-p/1181935#M3566</link>
    <description>&lt;P&gt;Attribute: count&lt;BR /&gt;The count attribute is used to indicate a block of sizeof element pointed by&lt;BR /&gt;the pointer in bytes used for copy depending on the direction attribute. The&lt;BR /&gt;count and size attribute modifiers serve the same purpose. The number of&lt;BR /&gt;bytes copied by the trusted bridge or trusted proxy is the product of the&lt;BR /&gt;count and the size of the data type to which the parameter points. The count&lt;BR /&gt;may be either an integer constant or one of the parameters to the function.&lt;BR /&gt;Intel® Software Guard Extensions Developer Reference for Linux* OS&lt;BR /&gt;- 51 -&lt;BR /&gt;The size and count attribute modifiers may also be combined. In this case,&lt;BR /&gt;the trusted edge-routine will copy a number of bytes that is the product of&lt;BR /&gt;the count and size parameters (size*count) specified in the function declaration in the EDL file.&lt;BR /&gt;Example&lt;BR /&gt;enclave{&lt;BR /&gt;trusted {&lt;BR /&gt;// Copies cnt * sizeof(int) bytes&lt;BR /&gt;public void test_count([in, count=cnt] int* ptr, unsigned&lt;BR /&gt;cnt);&lt;BR /&gt;// Copies cnt * len bytes&lt;BR /&gt;public void test_count_size([in, count=cnt, size=len] int*&lt;BR /&gt;ptr, unsigned cnt, size_t len);&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer the developer reference:&amp;nbsp;Enclave Definition Language Syntax. please refer the doc Intel_SGX_Developer_Reference_Linux_2.8_Open_Source.pdf.&amp;nbsp; Here is the download linker &lt;A href="https://01.org/intel-software-guard-extensions/downloads" target="_blank"&gt;https://01.org/intel-software-guard-extensions/downloads&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2020 10:42:02 GMT</pubDate>
    <dc:creator>Junli_S_Intel</dc:creator>
    <dc:date>2020-02-04T10:42:02Z</dc:date>
    <item>
      <title>Parse Error while using fixed array in ECALL</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Parse-Error-while-using-fixed-array-in-ECALL/m-p/1181934#M3565</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I'm enthusiastic about Intel SGX and I am trying to implement a simple auction program in SGX Enclave. While passing an array to the function(ECALL), I'm getting a parse error. Someone please help me out and suggest me how to pass array to the function(ECALL).&lt;/P&gt;</description>
      <pubDate>Sat, 01 Feb 2020 07:31:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Parse-Error-while-using-fixed-array-in-ECALL/m-p/1181934#M3565</guid>
      <dc:creator>tegala_anil_kumar</dc:creator>
      <dc:date>2020-02-01T07:31:07Z</dc:date>
    </item>
    <item>
      <title>Attribute: countThe count</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Parse-Error-while-using-fixed-array-in-ECALL/m-p/1181935#M3566</link>
      <description>&lt;P&gt;Attribute: count&lt;BR /&gt;The count attribute is used to indicate a block of sizeof element pointed by&lt;BR /&gt;the pointer in bytes used for copy depending on the direction attribute. The&lt;BR /&gt;count and size attribute modifiers serve the same purpose. The number of&lt;BR /&gt;bytes copied by the trusted bridge or trusted proxy is the product of the&lt;BR /&gt;count and the size of the data type to which the parameter points. The count&lt;BR /&gt;may be either an integer constant or one of the parameters to the function.&lt;BR /&gt;Intel® Software Guard Extensions Developer Reference for Linux* OS&lt;BR /&gt;- 51 -&lt;BR /&gt;The size and count attribute modifiers may also be combined. In this case,&lt;BR /&gt;the trusted edge-routine will copy a number of bytes that is the product of&lt;BR /&gt;the count and size parameters (size*count) specified in the function declaration in the EDL file.&lt;BR /&gt;Example&lt;BR /&gt;enclave{&lt;BR /&gt;trusted {&lt;BR /&gt;// Copies cnt * sizeof(int) bytes&lt;BR /&gt;public void test_count([in, count=cnt] int* ptr, unsigned&lt;BR /&gt;cnt);&lt;BR /&gt;// Copies cnt * len bytes&lt;BR /&gt;public void test_count_size([in, count=cnt, size=len] int*&lt;BR /&gt;ptr, unsigned cnt, size_t len);&lt;BR /&gt;};&lt;BR /&gt;};&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer the developer reference:&amp;nbsp;Enclave Definition Language Syntax. please refer the doc Intel_SGX_Developer_Reference_Linux_2.8_Open_Source.pdf.&amp;nbsp; Here is the download linker &lt;A href="https://01.org/intel-software-guard-extensions/downloads" target="_blank"&gt;https://01.org/intel-software-guard-extensions/downloads&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2020 10:42:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Parse-Error-while-using-fixed-array-in-ECALL/m-p/1181935#M3566</guid>
      <dc:creator>Junli_S_Intel</dc:creator>
      <dc:date>2020-02-04T10:42:02Z</dc:date>
    </item>
  </channel>
</rss>

