<?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 AESEncryptCBC on a large files in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183909#M27263</link>
    <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I want to encrypt (or decrypt) large file.&lt;/P&gt;&lt;P&gt;It is&amp;nbsp;unreasonable/impossible to load the whole file into memory and process it by single AESEncryptCBC call.&lt;/P&gt;&lt;P&gt;The more&amp;nbsp;affordable way is to process that file using consecutive&amp;nbsp;smaller chunks.&lt;/P&gt;&lt;P&gt;So, as far as I understand, the term "initialization vector" is need only for a first&amp;nbsp;Encrypt call.&lt;/P&gt;&lt;P&gt;And subsequent&amp;nbsp;Encrypt calls&amp;nbsp;require knowledge of some state from previous call.&lt;/P&gt;&lt;P&gt;Is it possible with IPP primitives to process large amounts through several AESEncryptCBC calls?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one more question regarding AESEncryptCBC/AESDecryptCBC.&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;pSrc and pDst pointers be the same?&lt;/P&gt;</description>
    <pubDate>Tue, 11 Feb 2020 17:18:36 GMT</pubDate>
    <dc:creator>OTorg</dc:creator>
    <dc:date>2020-02-11T17:18:36Z</dc:date>
    <item>
      <title>AESEncryptCBC on a large files</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183909#M27263</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;&lt;P&gt;I want to encrypt (or decrypt) large file.&lt;/P&gt;&lt;P&gt;It is&amp;nbsp;unreasonable/impossible to load the whole file into memory and process it by single AESEncryptCBC call.&lt;/P&gt;&lt;P&gt;The more&amp;nbsp;affordable way is to process that file using consecutive&amp;nbsp;smaller chunks.&lt;/P&gt;&lt;P&gt;So, as far as I understand, the term "initialization vector" is need only for a first&amp;nbsp;Encrypt call.&lt;/P&gt;&lt;P&gt;And subsequent&amp;nbsp;Encrypt calls&amp;nbsp;require knowledge of some state from previous call.&lt;/P&gt;&lt;P&gt;Is it possible with IPP primitives to process large amounts through several AESEncryptCBC calls?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And one more question regarding AESEncryptCBC/AESDecryptCBC.&lt;/P&gt;&lt;P&gt;Can&amp;nbsp;pSrc and pDst pointers be the same?&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2020 17:18:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183909#M27263</guid>
      <dc:creator>OTorg</dc:creator>
      <dc:date>2020-02-11T17:18:36Z</dc:date>
    </item>
    <item>
      <title>Hello,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183910#M27264</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Yes, you can do AES CBC encryption by chunks, but in this case you should take care about IV for any subsequent chunk&amp;nbsp;yourself.&lt;/P&gt;&lt;P&gt;The algorithm uses previous encrypted block as an input for the next block processing, so when you encrypt first chunk with the "original" IV, you should take last block of the last encrypted chunk as an IV for the next ippsAESEncryptCBC() call. Please also make sure that size of your chunks is a multiple of block size.&lt;/P&gt;&lt;P&gt;As to the second question, yes, they support in-place mode.&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, 12 Feb 2020 11:08:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183910#M27264</guid>
      <dc:creator>Andrey_M_Intel2</dc:creator>
      <dc:date>2020-02-12T11:08:00Z</dc:date>
    </item>
    <item>
      <title>Quote:Andrey-Matyukov (Intel)</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183911#M27265</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Andrey-Matyukov (Intel) wrote:&lt;BR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Yes, it works! Thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:02:28 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/AESEncryptCBC-on-a-large-files/m-p/1183911#M27265</guid>
      <dc:creator>OTorg</dc:creator>
      <dc:date>2020-02-12T15:02:28Z</dc:date>
    </item>
  </channel>
</rss>

