<?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 Copy Intel IPP Cryptography Function Context Structures in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160469#M26563</link>
    <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;As described in the reference: "Some Intel IPP Cryptography functions use special structures to store function-specific (context) information.".&amp;nbsp;My question is how can I initialize one context from another? Is this even possible? For example: I have a fully initialized &lt;EM&gt;IppsRSAPublicKeyState &lt;/EM&gt;using the respective initialization functions, but by necessity I want to fully copy it to a new context to not repeat the entire initialization process again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and rest of a good week.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Sep 2019 08:26:48 GMT</pubDate>
    <dc:creator>ssziy</dc:creator>
    <dc:date>2019-09-11T08:26:48Z</dc:date>
    <item>
      <title>Copy Intel IPP Cryptography Function Context Structures</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160469#M26563</link>
      <description>&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;As described in the reference: "Some Intel IPP Cryptography functions use special structures to store function-specific (context) information.".&amp;nbsp;My question is how can I initialize one context from another? Is this even possible? For example: I have a fully initialized &lt;EM&gt;IppsRSAPublicKeyState &lt;/EM&gt;using the respective initialization functions, but by necessity I want to fully copy it to a new context to not repeat the entire initialization process again.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance and rest of a good week.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 08:26:48 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160469#M26563</guid>
      <dc:creator>ssziy</dc:creator>
      <dc:date>2019-09-11T08:26:48Z</dc:date>
    </item>
    <item>
      <title>Hi Stevie,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160470#M26564</link>
      <description>&lt;P&gt;Hi Stevie,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We do not recommend doing this.&amp;nbsp;Can you please provide a bit more details about your use case?&lt;/P&gt;&lt;P&gt;Is the initialization really bottleneck?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrey&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 17:51:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160470#M26564</guid>
      <dc:creator>Andrey_M_Intel2</dc:creator>
      <dc:date>2019-09-11T17:51:03Z</dc:date>
    </item>
    <item>
      <title>Of course let me explain what</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160471#M26565</link>
      <description>&lt;P&gt;Of course let me explain what I intend to do: at the moment I want to seal the secrets included in my enclave (an RSA key pair, an RSA public key, and others that are out of question context) using the functions provided by intel SGX SDK . My idea was to seal function-specific (context) information, in this case RSA public and private key contexts, as soon as the application terminates. When the application was run again, it would just unseal these contexts and copy them directly into new contexts and extract the components needed for encryption or signatures.&lt;/P&gt;&lt;P&gt;By the way, thank you very much for your support.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Sep 2019 18:23:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160471#M26565</guid>
      <dc:creator>ssziy</dc:creator>
      <dc:date>2019-09-11T18:23:00Z</dc:date>
    </item>
    <item>
      <title>Deep copy of the context</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160472#M26566</link>
      <description>&lt;P&gt;Deep copy of the context structures for RSA is not supported now.&lt;BR /&gt;You can dump the memory context points to as you know its size, but it will be pretty much unusable after restore as you have to care also about internal pointers to the data in the context structure and data alignment manually.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;The recommended way is to save not the context itself, but the initial data for re-initialization.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 04:29:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160472#M26566</guid>
      <dc:creator>Andrey_M_Intel2</dc:creator>
      <dc:date>2019-09-12T04:29:00Z</dc:date>
    </item>
    <item>
      <title>Hi, Steve,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160473#M26567</link>
      <description>&lt;P&gt;Hi, Steve,&lt;/P&gt;&lt;P&gt;Right, some of IPP functionality has such ability (copy context to and restore it from). It's true, for example, for TDES, AES, ARC, Hash,&amp;nbsp;HMac and DLP functionality. But it is not true for RSA. Generally, (if functionality supports ability of save-restore context) it additionally provides the pair of Pack and Unpack functions.&lt;/P&gt;&lt;P&gt;Thus,&amp;nbsp;ippsAESPack and&amp;nbsp;ippsAESUnpck are store AES context in the memory buffer and&amp;nbsp;restore it from. The similar behavior provides the ippsHashPack -&amp;nbsp;ippsHashUnpack pair.&lt;/P&gt;&lt;P&gt;The appearance of these functions was due to specific request related to usage of IPP in JAVA based code. The cases similar to yours, have also been considered.&lt;/P&gt;&lt;P&gt;Because of different reason, future of these function is not clear now. That is why we do not recommend&amp;nbsp;using current IPP's save-restore mechanisms. Instead use general way for (initialization and set up) for context initialization.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 06:22:04 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160473#M26567</guid>
      <dc:creator>Sergey_K_Intel4</dc:creator>
      <dc:date>2019-09-12T06:22:04Z</dc:date>
    </item>
    <item>
      <title>Thank you very much for your</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160474#M26568</link>
      <description>&lt;P&gt;Thank you very much for your answers and I will take what you have been told to move forward.&lt;/P&gt;&lt;P&gt;Once again, a giant thank you for helping those who need help using your products.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Sep 2019 08:41:15 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Copy-Intel-IPP-Cryptography-Function-Context-Structures/m-p/1160474#M26568</guid>
      <dc:creator>ssziy</dc:creator>
      <dc:date>2019-09-12T08:41:15Z</dc:date>
    </item>
  </channel>
</rss>

