<?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 Scott, in Intel® Software Guard Extensions (Intel® SGX)</title>
    <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133764#M1972</link>
    <description>&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;Is there any way to send secrets&amp;nbsp;to the enclave in asymmetrically encrypted way, say ECDSA+AES? with the enclave's public key. So that anybody can just transmit the encrypted data to the untrusted environment and then pass to the enclave.&lt;/P&gt;&lt;P&gt;Or does it has to go by remote attestation in interactive way? that requires the secret holders to be online during the secret transmission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Scott R. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Nirjhar.&lt;/P&gt;&lt;P&gt;Yes, once an enclave is instantiated, global variables in the enclave reside in protected memory.&amp;nbsp; But, to be clear, any variables initialized at compile time will be in the clear in the enclave binary, as that is not encrypted in any way.&amp;nbsp; To get a "secret_key" securely into your enclave you would need to use SGX remote attestation to help securely&amp;nbsp;provision the secret from a remote entity.&lt;/P&gt;&lt;P&gt;Any function defined in your enclave.cpp will also be in trusted memory, whether its defined in the EDL or not.&amp;nbsp; The EDL is just what defines the functions that can be&amp;nbsp;called to/call out from inside the enclave. So in your example, func1()&amp;nbsp;would reside in secure memory and would only be callable from inside the enclave.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 23 Jan 2019 09:03:28 GMT</pubDate>
    <dc:creator>Hszz09</dc:creator>
    <dc:date>2019-01-23T09:03:28Z</dc:date>
    <item>
      <title>ENCLAVE DATA STORAGE</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133762#M1970</link>
      <description>&lt;P&gt;Lets say I have the enclave.cpp file and&amp;nbsp; I have&amp;nbsp;a global variable "secret _key". Will the variable "secret_key" will reside in the protected enclave space? If not how to have some global variables whose value will be stored in the enclave and not in the untrusted space?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also if i have a function func1() in enclave.cpp but it is not declared in the enclave.edl file,&amp;nbsp; then will the function be a part of the enclave or will be available in the untrusted memory location?&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 14:07:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133762#M1970</guid>
      <dc:creator>ROY__NIRJHAR</dc:creator>
      <dc:date>2019-01-15T14:07:04Z</dc:date>
    </item>
    <item>
      <title>Hello Nirjhar.</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133763#M1971</link>
      <description>&lt;P&gt;Hello Nirjhar.&lt;/P&gt;&lt;P&gt;Yes, once an enclave is instantiated, global variables in the enclave reside in protected memory.&amp;nbsp; But, to be clear, any variables initialized at compile time will be in the clear in the enclave binary, as that is not encrypted in any way.&amp;nbsp; To get a "secret_key" securely into your enclave you would need to use SGX remote attestation to help securely&amp;nbsp;provision the secret from a remote entity.&lt;/P&gt;&lt;P&gt;Any function defined in your enclave.cpp will also be in trusted memory, whether its defined in the EDL or not.&amp;nbsp; The EDL is just what defines the functions that can be&amp;nbsp;called to/call out from inside the enclave. So in your example, func1()&amp;nbsp;would reside in secure memory and would only be callable from inside the enclave.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 15 Jan 2019 23:06:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133763#M1971</guid>
      <dc:creator>Scott_R_Intel</dc:creator>
      <dc:date>2019-01-15T23:06:51Z</dc:date>
    </item>
    <item>
      <title>Hi Scott,</title>
      <link>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133764#M1972</link>
      <description>&lt;P&gt;Hi Scott,&lt;/P&gt;&lt;P&gt;Is there any way to send secrets&amp;nbsp;to the enclave in asymmetrically encrypted way, say ECDSA+AES? with the enclave's public key. So that anybody can just transmit the encrypted data to the untrusted environment and then pass to the enclave.&lt;/P&gt;&lt;P&gt;Or does it has to go by remote attestation in interactive way? that requires the secret holders to be online during the secret transmission.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Scott R. (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Nirjhar.&lt;/P&gt;&lt;P&gt;Yes, once an enclave is instantiated, global variables in the enclave reside in protected memory.&amp;nbsp; But, to be clear, any variables initialized at compile time will be in the clear in the enclave binary, as that is not encrypted in any way.&amp;nbsp; To get a "secret_key" securely into your enclave you would need to use SGX remote attestation to help securely&amp;nbsp;provision the secret from a remote entity.&lt;/P&gt;&lt;P&gt;Any function defined in your enclave.cpp will also be in trusted memory, whether its defined in the EDL or not.&amp;nbsp; The EDL is just what defines the functions that can be&amp;nbsp;called to/call out from inside the enclave. So in your example, func1()&amp;nbsp;would reside in secure memory and would only be callable from inside the enclave.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;Scott&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 23 Jan 2019 09:03:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Software-Guard-Extensions/ENCLAVE-DATA-STORAGE/m-p/1133764#M1972</guid>
      <dc:creator>Hszz09</dc:creator>
      <dc:date>2019-01-23T09:03:28Z</dc:date>
    </item>
  </channel>
</rss>

