<?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 ippsHMACSHA1MessageDigest fails with ippStsLengthErr in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031369#M23676</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the function&amp;nbsp;ippsHMACSHA1MessageDigest&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;(const Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pSrcMesg&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;mesgLen&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, const Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pKey&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;keyLen&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pMAC&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;macLen) and it fails with &lt;/SPAN&gt;ippStsLengthErr.&lt;/P&gt;

&lt;P&gt;The parameters are :&amp;nbsp;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-style: italic; line-height: 19.5120010375977px;"&gt;mesgLen = 176,&amp;nbsp;keyLen = 20,&amp;nbsp;macLen = 10.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-style: italic; line-height: 19.5120010375977px;"&gt;What could be the reason for&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;ippStsLengthErr?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Dec 2014 15:54:27 GMT</pubDate>
    <dc:creator>Ronen_C_</dc:creator>
    <dc:date>2014-12-22T15:54:27Z</dc:date>
    <item>
      <title>ippsHMACSHA1MessageDigest fails with ippStsLengthErr</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031369#M23676</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I'm using the function&amp;nbsp;ippsHMACSHA1MessageDigest&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;(const Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pSrcMesg&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;mesgLen&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, const Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pKey&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;keyLen&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, Ipp8u *&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;pMAC&lt;/SPAN&gt;&lt;SPAN class="kwd" style="font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;, int&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="var" style="font-style: italic; font-family: 'Courier New', Courier, monospace; line-height: 19.5120010375977px;"&gt;macLen) and it fails with &lt;/SPAN&gt;ippStsLengthErr.&lt;/P&gt;

&lt;P&gt;The parameters are :&amp;nbsp;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-style: italic; line-height: 19.5120010375977px;"&gt;mesgLen = 176,&amp;nbsp;keyLen = 20,&amp;nbsp;macLen = 10.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-family: 'Courier New', Courier, monospace; font-style: italic; line-height: 19.5120010375977px;"&gt;What could be the reason for&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;ippStsLengthErr?&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="line-height: 19.5120010375977px;"&gt;Thanks for the help!&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2014 15:54:27 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031369#M23676</guid>
      <dc:creator>Ronen_C_</dc:creator>
      <dc:date>2014-12-22T15:54:27Z</dc:date>
    </item>
    <item>
      <title>Hi Ronen,</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031370#M23677</link>
      <description>&lt;P&gt;Hi Ronen,&lt;/P&gt;

&lt;P&gt;according to the manual:&lt;/P&gt;

&lt;P&gt;ippStsLengthErr - Indicates an error condition if msgLen is less than zero or macLen is less than one or greater than the length of the hash value.&lt;/P&gt;

&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2014 16:00:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031370#M23677</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-12-22T16:00:00Z</dc:date>
    </item>
    <item>
      <title>What is the length of the</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031371#M23678</link>
      <description>&lt;P&gt;What is the length of the hash value? as i understood its the&amp;nbsp;&lt;SPAN style="font-size: 12px; line-height: 18px;"&gt;keyLen, no?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Dec 2014 16:10:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031371#M23678</guid>
      <dc:creator>Ronen_C_</dc:creator>
      <dc:date>2014-12-22T16:10:07Z</dc:date>
    </item>
    <item>
      <title>HMAC SHA1 is always 160 bit -</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031372#M23679</link>
      <description>&lt;P&gt;HMAC SHA1 is always 160 bit - i.e. 20 bytes, so macLen must be == 20.&lt;/P&gt;
&lt;P&gt;regards, Igor&lt;/P&gt;</description>
      <pubDate>Tue, 23 Dec 2014 04:21:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/ippsHMACSHA1MessageDigest-fails-with-ippStsLengthErr/m-p/1031372#M23679</guid>
      <dc:creator>Igor_A_Intel</dc:creator>
      <dc:date>2014-12-23T04:21:53Z</dc:date>
    </item>
  </channel>
</rss>

