<?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 One possible way is to in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163887#M2967</link>
    <description>&lt;P&gt;One possible way is to convert your untrusted application into a shared library instead of an executable. Other possibilities include some sort of inter-process communications.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It really depends on the details regarding what you are trying to build.&lt;/P&gt;</description>
    <pubDate>Tue, 03 Apr 2018 21:09:44 GMT</pubDate>
    <dc:creator>Francisco_C_Intel</dc:creator>
    <dc:date>2018-04-03T21:09:44Z</dc:date>
    <item>
      <title>Create a library to be used by an application</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163886#M2966</link>
      <description>&lt;P&gt;Hi Dear all,&lt;/P&gt;

&lt;P&gt;I am a beginner in SGX applications. I created an SGX project, a trusted part where my critical and sensitive data is kept and an untrusted part with functions that call the trusted part.&lt;/P&gt;

&lt;P&gt;I would like, from another application access the functions defined in my untrusted.h that ultimately&amp;nbsp;access the enclave.&lt;/P&gt;

&lt;P&gt;how could I do that?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I would appreciate your help&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;regards&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 12:20:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163886#M2966</guid>
      <dc:creator>Medina_Chirinos__Jor</dc:creator>
      <dc:date>2018-04-03T12:20:02Z</dc:date>
    </item>
    <item>
      <title>One possible way is to</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163887#M2967</link>
      <description>&lt;P&gt;One possible way is to convert your untrusted application into a shared library instead of an executable. Other possibilities include some sort of inter-process communications.&amp;nbsp;&lt;/P&gt;

&lt;P&gt;It really depends on the details regarding what you are trying to build.&lt;/P&gt;</description>
      <pubDate>Tue, 03 Apr 2018 21:09:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163887#M2967</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2018-04-03T21:09:44Z</dc:date>
    </item>
    <item>
      <title>Hi Francisco,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163888#M2968</link>
      <description>&lt;P&gt;Hi Francisco,&lt;/P&gt;

&lt;P&gt;I modified the makefile to get a shared library from my untrusted part instead of an exe. however, when I use a function (sgx_init()) prototyped in the header file from the untrusted section I get&lt;/P&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;undefined reference to `sgx_init()'&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;the change I made to the MAKEFILE was:&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;EXE&lt;/SPAN&gt;&lt;/DIV&gt;

&lt;DIV&gt;
	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;#sample: $(UNTRUSTED_DIR)/myenclave_u.o $(App_C_Objects)&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;#&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;@$(CXX) $^ -o $@ $(App_Link_Flags)&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;#&lt;SPAN style="white-space:pre"&gt; &lt;/SPAN&gt;@echo "LINK =&amp;gt;&amp;nbsp; $@"&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;

	&lt;DIV&gt;SHARED&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;libsample.so : $(UNTRUSTED_DIR)/myenclave_u.o $(App_C_Objects)&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;@$(CXX) -shared $^ -o $@&lt;/SPAN&gt;&lt;/DIV&gt;

	&lt;DIV&gt;&lt;SPAN style="font-size: 13.008px;"&gt;@echo "LINK =&amp;gt; $@"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 04 Apr 2018 13:35:47 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/Create-a-library-to-be-used-by-an-application/m-p/1163888#M2968</guid>
      <dc:creator>Medina_Chirinos__Jor</dc:creator>
      <dc:date>2018-04-04T13:35:47Z</dc:date>
    </item>
  </channel>
</rss>

