<?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 Problem in Elliptic Curve Cryptography DSA in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826147#M5189</link>
    <description>Hello Ricardo&lt;BR /&gt;&lt;BR /&gt;Look at similar thread:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=58862" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=58862&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(The answers 2),3) are not recommended&lt;BR /&gt;for security reasons) &lt;BR /&gt;&lt;BR /&gt;I'm not representing Intel's developers but I'm accepting their assumption&lt;BR /&gt;that the curve order is larger than the hash value&lt;BR /&gt;It is natural for me (although more restrictive than that in FIPS)&lt;BR /&gt;&lt;BR /&gt;Andrzej Chrzeszczyk</description>
    <pubDate>Sun, 22 May 2011 11:20:14 GMT</pubDate>
    <dc:creator>Andrzej_Chrzeszczyk</dc:creator>
    <dc:date>2011-05-22T11:20:14Z</dc:date>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826145#M5187</link>
      <description>&lt;P&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;It seems there is a problem in the ECCPSignDSA function. It fails with &lt;EM&gt;ippStsMessageErr&lt;/EM&gt; when the message digest value is greater than the EC group order value, even if both have the same bit length. That should not happen according to the standards (IEEE1363-2000/10.2.2 or FIPS186-3/6.4), which define that the message digest shall be at most the same length in bits of the group order, but not itsvalue. Similarly, the Nyberg-Rueppel version shall accept messages of at most (n-1) bits of the group order.&lt;BR /&gt;&lt;BR /&gt;Also, the IPP documentation states, incorrectly, for both schemes:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;ippStsMessageErr&lt;/P&gt;&lt;P&gt;Indicates an error condition if the value of msg pointed by pMsgDigest falls outside the range of [1, 1-n] where n is the order of the elliptic curve base point G. &lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;I believe there is a typo, it should read "n-1" instead of "1-n" for the NR version and just "n" for the DSA version, and "n" would be the bit length of the values instead of the values themselves.&lt;BR /&gt;&lt;BR /&gt;I have attached a modifiedsample from the documentationto demonstrate the problem (see ecc.cpp). A 256-bit message digest with all bits set to1 should be fine forthe 256-bit EC, but ippsECCPSignDSA rejects it, because the order value is smaller. If the digest is set to be less than the order value, no error occurs.&lt;BR /&gt;&lt;BR /&gt;Using the latest IPP 7.0.3.&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;Ricardo.</description>
      <pubDate>Tue, 10 May 2011 23:43:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826145#M5187</guid>
      <dc:creator>Ricardo_Costa</dc:creator>
      <dc:date>2011-05-10T23:43:53Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826146#M5188</link>
      <description>Hi Recardo,&lt;BR /&gt;I have contacted engineering to ask that they review the issue and will get back to you with their response. Thanks for the report.&lt;BR /&gt;&lt;BR /&gt;Walt</description>
      <pubDate>Fri, 20 May 2011 18:44:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826146#M5188</guid>
      <dc:creator>Joseph_S_Intel</dc:creator>
      <dc:date>2011-05-20T18:44:54Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826147#M5189</link>
      <description>Hello Ricardo&lt;BR /&gt;&lt;BR /&gt;Look at similar thread:&lt;BR /&gt;&lt;A href="http://software.intel.com/en-us/forums/showthread.php?t=58862" target="_blank"&gt;http://software.intel.com/en-us/forums/showthread.php?t=58862&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;(The answers 2),3) are not recommended&lt;BR /&gt;for security reasons) &lt;BR /&gt;&lt;BR /&gt;I'm not representing Intel's developers but I'm accepting their assumption&lt;BR /&gt;that the curve order is larger than the hash value&lt;BR /&gt;It is natural for me (although more restrictive than that in FIPS)&lt;BR /&gt;&lt;BR /&gt;Andrzej Chrzeszczyk</description>
      <pubDate>Sun, 22 May 2011 11:20:14 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826147#M5189</guid>
      <dc:creator>Andrzej_Chrzeszczyk</dc:creator>
      <dc:date>2011-05-22T11:20:14Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826148#M5190</link>
      <description>Thanks for pointing it out, that explains the problem. However the documentation refers to the standards but do not implement them exactly, so it's still an error.&lt;BR /&gt;&lt;BR /&gt;Also, I don't know if the signature offers the same bits of security when using (hash % n) instead of the full length. Is it guaranteed to keep the same security properties?&lt;BR /&gt;&lt;BR /&gt;Ricardo</description>
      <pubDate>Sun, 22 May 2011 20:06:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826148#M5190</guid>
      <dc:creator>Ricardo_Costa</dc:creator>
      <dc:date>2011-05-22T20:06:33Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826149#M5191</link>
      <description>The signature computations are performed modulo n&lt;BR /&gt;so the reduction modulo n of the hash does not change the result&lt;BR /&gt;&lt;BR /&gt;(assuming that the appropriate bit lengths are OK &lt;BR /&gt;FIPS186-3 p.30:&lt;BR /&gt;"It is recommended that the security strength associated with the bit length of n &lt;BR /&gt;and the security strength of the hash function be the same unless ...") &lt;BR /&gt;&lt;BR /&gt;Andrzej Chrzeszczyk&lt;BR /&gt;</description>
      <pubDate>Mon, 23 May 2011 02:12:19 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826149#M5191</guid>
      <dc:creator>Andrzej_Chrzeszczyk</dc:creator>
      <dc:date>2011-05-23T02:12:19Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826150#M5192</link>
      <description>Hi Andrzej, Ricardo, &lt;BR /&gt;&lt;BR /&gt;Thanks for the informative discussions. &lt;BR /&gt;Here is some comments forour engineers, &lt;P align="left"&gt;&lt;BR /&gt;Definitely, the ippCP manual has typo in "Return Values" description. Namely in ippStsMessageErr explanation.&lt;/P&gt;&lt;P align="left"&gt;The legal range of message to be signed is [1,&lt;B&gt;n-1&lt;/B&gt;]. Exactly this range is used in the ippsSignDSA check stage.&lt;/P&gt;&lt;P align="left"&gt;In attached code (ecc.cpp) the value being signed is (2^256) -1 and goes beyond the order of used EC.&lt;/P&gt;&lt;P align="left"&gt;That is why error the code is returned by ippsSignDSA.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;Ying H.&lt;/P&gt;</description>
      <pubDate>Wed, 25 May 2011 04:25:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826150#M5192</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-05-25T04:25:53Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826151#M5193</link>
      <description>Hello Ying&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;You mean of course ippsECCPSignDSA check stage&lt;BR /&gt;&lt;BR /&gt;Andrzej Chrzeszczyk</description>
      <pubDate>Wed, 25 May 2011 09:18:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826151#M5193</guid>
      <dc:creator>Andrzej_Chrzeszczyk</dc:creator>
      <dc:date>2011-05-25T09:18:03Z</dc:date>
    </item>
    <item>
      <title>Problem in Elliptic Curve Cryptography DSA</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826152#M5194</link>
      <description>&lt;P&gt;Dear all, &lt;BR /&gt;&lt;BR /&gt;Just let you knowthat IPP 7.0.5 released in Intel registration center &amp;lt;&amp;lt;&lt;A href="https://registrationcenter.intel.com/"&gt;https://registrationcenter.intel.com/&lt;/A&gt;&amp;gt;&amp;gt;. The documentation typo was supposed fixed the version. You are welcomed to try it. &lt;/P&gt;&lt;P&gt;Best Wishes, &lt;BR /&gt;Ying&lt;/P&gt;</description>
      <pubDate>Thu, 08 Sep 2011 08:55:02 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/Problem-in-Elliptic-Curve-Cryptography-DSA/m-p/826152#M5194</guid>
      <dc:creator>Ying_H_Intel</dc:creator>
      <dc:date>2011-09-08T08:55:02Z</dc:date>
    </item>
  </channel>
</rss>

