<?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 MPIR in SGX in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094950#M946</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to calculate with huge numbers inside of SGX. Therefore, I want to use MPIR (from &lt;A href="http://mpir.org/)" target="_blank"&gt;http://mpir.org/)&lt;/A&gt; inside of an enclave. Has anybody tried this already and had success?&lt;/P&gt;

&lt;P&gt;This library has some IO functions like printf or raw file read. I did remove them, because they are not required, but I don't get it to work. I compiled the library without the IO functions and included the header directory into the enclave project, added the library directory to the enclave project and also the static&amp;nbsp;mpir.lib library. It works if I do the same in a normal application.&lt;/P&gt;

&lt;P&gt;However, I get the following errors if I do it in an enclave project:&lt;/P&gt;

&lt;PRE class="brush:plain;" style="font-size: 13.008px;"&gt;&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(inv_div_qr_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(dc_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom4_mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mul_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(invert.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(inv_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(set_str.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(tdiv_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(inv_div_qr_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(dc_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom4_mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mul_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(invert.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(inv_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(set_str.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(tdiv_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(butterfly_rshB.obj) : error LNK2019: unresolved external symbol _RTC_InitBase referenced in function __mpir_butterfly_rshB
1&amp;gt;mpir.lib(ifft_trunc.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(revbin.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_radix2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_2expmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(butterfly_lshB.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_trunc.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(neg_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(adjust.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(adjust_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_radix2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_mfa_trunc_sqrt2_inner.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_negacyclic.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(normmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(div_2expmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(zero.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(combine_bits.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(split_bits.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_negacyclic.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_interpolate_16pts.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_couple_handling.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_bexpp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expp1_basecase.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2exp.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2rexp.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_dgr3_pm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(divrem_euclidean_r_1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(rsh_divrem_hensel_qr_1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(hgcd_appr.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom3_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
...

&lt;/PRE&gt;

&lt;P&gt;Does anybody know what I can do about it?&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
	Benny&lt;/P&gt;</description>
    <pubDate>Fri, 28 Apr 2017 11:46:22 GMT</pubDate>
    <dc:creator>Benny_F_</dc:creator>
    <dc:date>2017-04-28T11:46:22Z</dc:date>
    <item>
      <title>MPIR in SGX</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094950#M946</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;

&lt;P&gt;I want to calculate with huge numbers inside of SGX. Therefore, I want to use MPIR (from &lt;A href="http://mpir.org/)" target="_blank"&gt;http://mpir.org/)&lt;/A&gt; inside of an enclave. Has anybody tried this already and had success?&lt;/P&gt;

&lt;P&gt;This library has some IO functions like printf or raw file read. I did remove them, because they are not required, but I don't get it to work. I compiled the library without the IO functions and included the header directory into the enclave project, added the library directory to the enclave project and also the static&amp;nbsp;mpir.lib library. It works if I do the same in a normal application.&lt;/P&gt;

&lt;P&gt;However, I get the following errors if I do it in an enclave project:&lt;/P&gt;

&lt;PRE class="brush:plain;" style="font-size: 13.008px;"&gt;&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(inv_div_qr_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(dc_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(toom4_mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mul.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mul_n.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(invert.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(inv_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(set_str.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(tdiv_qr.obj) : error LNK2001: unresolved external symbol _RTC_AllocaHelper
1&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(inv_div_qr_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(dc_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(toom4_mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mul.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(mul_n.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(invert.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(inv_div_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(set_str.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(gcd.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(tdiv_qr.obj) : error LNK2001: unresolved external symbol _RTC_CheckStackVars2
1&amp;gt;mpir.lib(butterfly_rshB.obj) : error LNK2019: unresolved external symbol _RTC_InitBase referenced in function __mpir_butterfly_rshB
1&amp;gt;mpir.lib(ifft_trunc.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(revbin.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_radix2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_2expmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(butterfly_lshB.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_trunc.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(neg_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(adjust.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(adjust_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_radix2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_mfa_trunc_sqrt2_inner.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(ifft_negacyclic.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(normmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(div_2expmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(zero.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(combine_bits.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(split_bits.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(fft_negacyclic.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_interpolate_16pts.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_couple_handling.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_bexpp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expp1_basecase.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2exp.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_pm2rexp.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mul_mfa_trunc_sqrt2.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom_eval_dgr3_pm1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(divrem_euclidean_r_1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(rsh_divrem_hensel_qr_1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(mulmod_2expp1.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(hgcd_appr.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom8h_mul.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom3_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom4_mul_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(toom8_sqr_n.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
1&amp;gt;mpir.lib(hgcd_reduce.obj) : error LNK2001: unresolved external symbol _RTC_InitBase
...

&lt;/PRE&gt;

&lt;P&gt;Does anybody know what I can do about it?&lt;/P&gt;

&lt;P&gt;Thank you&lt;BR /&gt;
	Benny&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 11:46:22 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094950#M946</guid>
      <dc:creator>Benny_F_</dc:creator>
      <dc:date>2017-04-28T11:46:22Z</dc:date>
    </item>
    <item>
      <title>If I understand correctly,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094951#M947</link>
      <description>&lt;P&gt;If I&amp;nbsp;understand correctly, you&lt;/P&gt;

&lt;P&gt;1) took the source for MPIR,&lt;/P&gt;

&lt;P&gt;2) removed the printf statements,&lt;/P&gt;

&lt;P&gt;3) then built the mpir.lib static library&lt;/P&gt;

&lt;P&gt;4) added the mpir.lib static library to an enclave&lt;/P&gt;

&lt;P&gt;5) built the enclave and received the errors above&lt;/P&gt;

&lt;P&gt;In Step 3, how did you build it? If you built the way you would normally build a regular static library it may be pulling in unsupported functions from a traditional C runtime.&lt;/P&gt;

&lt;P&gt;I would try&amp;nbsp;to create a new Visual Studio Project, "Intel SGX Enclave Project", "Enclave library" as described in &lt;A href="https://community.intel.com/legacyfs/online/drupal_files/managed/b4/cf/Intel-SGX-SDK-Developer-Reference-for-Windows-OS.pdf"&gt;https://software.intel.com/sites/default/files/managed/b4/cf/Intel-SGX-SDK-Developer-Reference-for-Windows-OS.pdf&lt;/A&gt; page 13, then add the MPIR files and build the mpir static library this way.&lt;/P&gt;

&lt;P&gt;This is my first-guess as to why it doesn't work, &lt;A href="http://stackoverflow.com/questions/10158013/unresolved-external-symbols-rtc-in-windows-programming-tutorial"&gt;http://stackoverflow.com/questions/10158013/unresolved-external-symbols-rtc-in-windows-programming-tutorial&lt;/A&gt;&amp;nbsp;suggests it may be sufficient to simply change the build options in the project you already have.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 28 Apr 2017 13:53:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094951#M947</guid>
      <dc:creator>Francisco_C_Intel</dc:creator>
      <dc:date>2017-04-28T13:53:32Z</dc:date>
    </item>
    <item>
      <title>Hi,Benny,Did you resolve this</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094952#M948</link>
      <description>&lt;P&gt;Hi,Benny,Did you resolve this problem? the same as you,I want use the&amp;nbsp;mpir in enclave&amp;nbsp; too&amp;nbsp;.if you resolved ,share with us,thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Apr 2019 03:57:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/MPIR-in-SGX/m-p/1094952#M948</guid>
      <dc:creator>Zhang__Huiqiang</dc:creator>
      <dc:date>2019-04-11T03:57:00Z</dc:date>
    </item>
  </channel>
</rss>

