<?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 Aziz A, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Passing-Variables-and-Objects-Between-App-and-Enclave/m-p/1071059#M306</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1598975" style="font-size: 11px; background-color: rgb(238, 238, 238);"&gt;Aziz A&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;C++ objects are not supported in enclave interface definitions. If an application needs to pass a C++ object across the enclave boundary, you are&amp;nbsp;recommended to store the C++ object’s data in a C struct and marshal the data across the enclave interface. Then you need to instantiate the C++ object inside the enclave with the marshaled C struct passed in to the constructor (or you may update existing instantiated objects with appropriate operators).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The EDL for passing structures is given &lt;A href="https://software.intel.com/en-us/node/708973"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Anusha.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 04 Apr 2017 07:08:08 GMT</pubDate>
    <dc:creator>Anusha_K_Intel</dc:creator>
    <dc:date>2017-04-04T07:08:08Z</dc:date>
    <item>
      <title>Passing Variables and Objects Between App and Enclave</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Passing-Variables-and-Objects-Between-App-and-Enclave/m-p/1071058#M305</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Every tutorial I've seen on SGX seems to only pass Strings in the ECALLs and OCALLs between the App and the Enclave.&lt;/P&gt;

&lt;P&gt;Is it possible to pass other types of variables? can I pass objects? if not what would be the best way to get around that?&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Thanks.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 31 Mar 2017 05:04:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Passing-Variables-and-Objects-Between-App-and-Enclave/m-p/1071058#M305</guid>
      <dc:creator>Aziz_A_</dc:creator>
      <dc:date>2017-03-31T05:04:30Z</dc:date>
    </item>
    <item>
      <title>Hi Aziz A,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Passing-Variables-and-Objects-Between-App-and-Enclave/m-p/1071059#M306</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1598975" style="font-size: 11px; background-color: rgb(238, 238, 238);"&gt;Aziz A&lt;/A&gt;,&lt;/P&gt;

&lt;P&gt;C++ objects are not supported in enclave interface definitions. If an application needs to pass a C++ object across the enclave boundary, you are&amp;nbsp;recommended to store the C++ object’s data in a C struct and marshal the data across the enclave interface. Then you need to instantiate the C++ object inside the enclave with the marshaled C struct passed in to the constructor (or you may update existing instantiated objects with appropriate operators).&amp;nbsp;&lt;/P&gt;

&lt;P&gt;The EDL for passing structures is given &lt;A href="https://software.intel.com/en-us/node/708973"&gt;here&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Anusha.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 04 Apr 2017 07:08:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Passing-Variables-and-Objects-Between-App-and-Enclave/m-p/1071059#M306</guid>
      <dc:creator>Anusha_K_Intel</dc:creator>
      <dc:date>2017-04-04T07:08:08Z</dc:date>
    </item>
  </channel>
</rss>

