<?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 Use MKL in Enclave in Intel Confidential Computing</title>
    <link>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135011#M2024</link>
    <description>&lt;P&gt;How can I use MKL in Enclave？&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;/usr/bin/ld: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64/libmkl_core.a(mkl_msg_support.o): undefined reference to symbol 'fflush@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libc.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
makefile:203: recipe for target 'enclave.so' failed
make: *** [enclave.so] Error &lt;/PRE&gt;

&lt;P&gt;While &amp;nbsp;trying to use MKL functions in enclave I meet this error, what can I do, to make it works.&lt;/P&gt;</description>
    <pubDate>Mon, 26 Jun 2017 08:11:28 GMT</pubDate>
    <dc:creator>you_w_</dc:creator>
    <dc:date>2017-06-26T08:11:28Z</dc:date>
    <item>
      <title>Use MKL in Enclave</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135011#M2024</link>
      <description>&lt;P&gt;How can I use MKL in Enclave？&amp;nbsp;&lt;/P&gt;

&lt;PRE class="brush:plain;"&gt;/usr/bin/ld: /opt/intel/compilers_and_libraries_2017.4.196/linux/mkl/lib/intel64/libmkl_core.a(mkl_msg_support.o): undefined reference to symbol 'fflush@@GLIBC_2.2.5'
//lib/x86_64-linux-gnu/libc.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
makefile:203: recipe for target 'enclave.so' failed
make: *** [enclave.so] Error &lt;/PRE&gt;

&lt;P&gt;While &amp;nbsp;trying to use MKL functions in enclave I meet this error, what can I do, to make it works.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2017 08:11:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135011#M2024</guid>
      <dc:creator>you_w_</dc:creator>
      <dc:date>2017-06-26T08:11:28Z</dc:date>
    </item>
    <item>
      <title>You can not use untrusted</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135012#M2025</link>
      <description>&lt;P&gt;You can not use untrusted library calls inside enclave.&amp;nbsp;The untrusted library functions can only be called from application code - outside the enclave.&amp;nbsp;&lt;SPAN style="font-size: 1em;"&gt;Linking &amp;nbsp;the enclave with any untrusted library &amp;nbsp;either fail the enclave signing process or cause a runtime failure due to the use of restricted instructions.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;You can refer to below document for more information on trusted/untrsusted libraries and &amp;nbsp;linking application with the untrusted libraries.&lt;/P&gt;

&lt;P&gt;&lt;A href="https://download.01.org/intel-sgx/linux-1.8/docs/Intel_SGX_SDK_Developer_Reference_Linux_1.8_Open_Source.pdf" target="_blank"&gt;https://download.01.org/intel-sgx/linux-1.8/docs/Intel_SGX_SDK_Developer_Reference_Linux_1.8_Open_Source.pdf&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;Shivananda&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 29 Jun 2017 11:15:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135012#M2025</guid>
      <dc:creator>Shivananda_H_Intel</dc:creator>
      <dc:date>2017-06-29T11:15:46Z</dc:date>
    </item>
    <item>
      <title>Thanks Shivananda</title>
      <link>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135013#M2026</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;A href="https://software.intel.com/en-us/user/1594973" style="font-size: 11px; background-color: rgb(238, 238, 238);"&gt;Shivananda&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;I think if I can static link the&amp;nbsp;&lt;SPAN style="font-size: 12px;"&gt;untrusted library function into enclave successfully, I can used it. I my case, I want to use the MKL library function in enclave because one of the&amp;nbsp;&lt;/SPAN&gt;parameter&amp;nbsp;is defined as secret and should not be bring out from enclave. Now I use an ecall get the parameter and destroy it immediately。&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;Regards&lt;/P&gt;

&lt;P style="word-wrap: break-word; font-size: 12px;"&gt;youwanlong&lt;/P&gt;</description>
      <pubDate>Fri, 30 Jun 2017 10:16:18 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Confidential-Computing/Use-MKL-in-Enclave/m-p/1135013#M2026</guid>
      <dc:creator>you_w_</dc:creator>
      <dc:date>2017-06-30T10:16:18Z</dc:date>
    </item>
  </channel>
</rss>

