<?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 Re: ARCFour Encryption/Decryption Problem in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863094#M8010</link>
    <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;A href="https://community.intel.com/en-us/profile/434878"&gt;Hello Heidarian&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think You should do:&lt;BR /&gt;&lt;BR /&gt;ippsARCFourReset(pCtx);&lt;BR /&gt;&lt;BR /&gt;before decrypting.&lt;BR /&gt;&lt;BR /&gt;Andrzej Ch</description>
    <pubDate>Sat, 12 Dec 2009 14:27:59 GMT</pubDate>
    <dc:creator>achrzesz2</dc:creator>
    <dc:date>2009-12-12T14:27:59Z</dc:date>
    <item>
      <title>ARCFour Encryption/Decryption Problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863093#M8009</link>
      <description>&lt;BR /&gt;Dear friends&lt;BR /&gt;&lt;BR /&gt;I wrote this simple code to test the ARCFour algorithm,but when I run my program the decrypted cipher-text is not the same as the original plain-text...could anyone tell me what is wrong with my code??&lt;BR /&gt;&lt;BR /&gt; int ctxSize;&lt;BR /&gt;Ipp8u ctext[8];&lt;BR /&gt; Ipp8u pDst[8];&lt;BR /&gt; Ipp8u key[] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;BR /&gt; Ipp8u pSrc[] ={0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00};&lt;BR /&gt;&lt;BR /&gt;ippsARCFourGetSize(&amp;amp;ctxSize);&lt;BR /&gt; IppsARCFourState* pCtx = (IppsARCFourState*)( new Ipp8u [ctxSize] );&lt;BR /&gt; ippsARCFourInit(key,sizeof(key),pCtx);&lt;BR /&gt;ippsARCFourEncrypt(pSrc,ctext,sizeof(pSrc),pCtx);&lt;BR /&gt; ippsARCFourDecrypt(ctext, pDst, sizeof(ctext), pCtx);&lt;BR /&gt;&lt;BR /&gt;when I debug this code pDst is not the same as PSrc!!!&lt;BR /&gt;&lt;BR /&gt;Thanks in advance</description>
      <pubDate>Sat, 12 Dec 2009 06:23:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863093#M8009</guid>
      <dc:creator>Heidarian</dc:creator>
      <dc:date>2009-12-12T06:23:40Z</dc:date>
    </item>
    <item>
      <title>Re: ARCFour Encryption/Decryption Problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863094#M8010</link>
      <description>&lt;DIV style="margin:0px;"&gt;&lt;/DIV&gt;
&lt;A href="https://community.intel.com/en-us/profile/434878"&gt;Hello Heidarian&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think You should do:&lt;BR /&gt;&lt;BR /&gt;ippsARCFourReset(pCtx);&lt;BR /&gt;&lt;BR /&gt;before decrypting.&lt;BR /&gt;&lt;BR /&gt;Andrzej Ch</description>
      <pubDate>Sat, 12 Dec 2009 14:27:59 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863094#M8010</guid>
      <dc:creator>achrzesz2</dc:creator>
      <dc:date>2009-12-12T14:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: ARCFour Encryption/Decryption Problem</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863095#M8011</link>
      <description>&lt;DIV style="margin:0px;"&gt;
&lt;DIV id="quote_reply" style="width: 100%; margin-top: 5px;"&gt;
&lt;DIV style="margin-left:2px;margin-right:2px;"&gt;Quoting - &lt;A href="https://community.intel.com/en-us/profile/434368"&gt;achrzesz2&lt;/A&gt;&lt;/DIV&gt;
&lt;DIV style="background-color:#E5E5E5; padding:5px;border: 1px; border-style: inset;margin-left:2px;margin-right:2px;"&gt;&lt;EM&gt; &lt;A href="https://community.intel.com/en-us/profile/434878"&gt;Hello Heidarian&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;I think You should do:&lt;BR /&gt;&lt;BR /&gt;ippsARCFourReset(pCtx);&lt;BR /&gt;&lt;BR /&gt;before decrypting.&lt;BR /&gt;&lt;BR /&gt;Andrzej Ch&lt;/EM&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;BR /&gt;Hello achrzesz2&lt;BR /&gt;&lt;BR /&gt;Thanx very much for your help, I have added ippsARCFourReset(pCtx) before decrption function and decrypted ctext become the same as the original ptext.&lt;BR /&gt;&lt;BR /&gt;again many tanks to you dear.&lt;BR /&gt;</description>
      <pubDate>Sat, 12 Dec 2009 15:58:57 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ARCFour-Encryption-Decryption-Problem/m-p/863095#M8011</guid>
      <dc:creator>Heidarian</dc:creator>
      <dc:date>2009-12-12T15:58:57Z</dc:date>
    </item>
  </channel>
</rss>

