<?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>i.MX Processors中的主题 Re: NIST statistical test failure on RNG</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669574#M103085</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turned out that we had used wrong parameters for the test;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;./assess 134217728&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;How many bitstreams? 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;when they should have been&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;./assess 1000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;How many bitstreams? 1073&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With these new parameters, the &lt;STRONG&gt;&lt;EM&gt;Overlapping (Periodic) Template Matching Test&lt;/EM&gt;&lt;/STRONG&gt; passes for all interfaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 26 Jun 2017 09:20:00 GMT</pubDate>
    <dc:creator>dhanushkadangam</dc:creator>
    <dc:date>2017-06-26T09:20:00Z</dc:date>
    <item>
      <title>NIST statistical test failure on RNG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669572#M103083</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We are using the imx6ul processor in an application where we need to obtain certification for random number generation sources. For this, we capture ~128MB of random data from &lt;EM&gt;&lt;STRONG&gt;/dev/random&lt;/STRONG&gt;&lt;/EM&gt;, &lt;EM&gt;&lt;STRONG&gt;/dev/urandom&lt;/STRONG&gt;&lt;/EM&gt; and &lt;EM&gt;&lt;STRONG&gt;/dev/hwrng&lt;/STRONG&gt;&lt;/EM&gt; interfaces and feed it to &lt;A href="http://csrc.nist.gov/groups/ST/toolkit/rng/stats_tests.html"&gt;NIST statistical tests&lt;/A&gt;.&amp;nbsp;&lt;/P&gt;&lt;P&gt;According to the Final Analysis Reports, "&lt;STRONG&gt;&lt;EM&gt;Overlapping (Periodic) Template Matching Test&lt;/EM&gt;&lt;/STRONG&gt;" scores below the minimum pass rate in all the above interfaces.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Why does this particular test fail on all interfaces?&lt;/LI&gt;&lt;LI&gt;What are the implications of this result on the certification?&lt;/LI&gt;&lt;LI&gt;Will some post-processing such as whitening help fix this?&lt;/LI&gt;&lt;LI&gt;Is there any specific configuration for the CAAM RNG that we should use? We are using yocto linux-3.14.38 without any modifications.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;PS:&lt;/P&gt;&lt;P&gt;imx6ul SRM says the RNG should be instantiated in test mode to obtain data for certification. Even in test mode the above test fails. Below are extracts from the test reports for &lt;STRONG&gt;&lt;EM&gt;/dev/hwrng&lt;/EM&gt;&lt;/STRONG&gt;:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In normal mode:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;&amp;nbsp;C1&amp;nbsp; C2&amp;nbsp; C3&amp;nbsp; C4&amp;nbsp; C5&amp;nbsp; C6&amp;nbsp; C7&amp;nbsp; C8&amp;nbsp; C9 C10&amp;nbsp; P-VALUE&amp;nbsp; PROPORTION&amp;nbsp; STATISTICAL TEST&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;&amp;nbsp; 6&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 0.000199&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 6/10&amp;nbsp;&amp;nbsp; *&amp;nbsp; OverlappingTemplate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In test mode:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;&amp;nbsp;C1&amp;nbsp; C2&amp;nbsp; C3&amp;nbsp; C4&amp;nbsp; C5&amp;nbsp; C6&amp;nbsp; C7&amp;nbsp; C8&amp;nbsp; C9 C10&amp;nbsp; P-VALUE&amp;nbsp; PROPORTION&amp;nbsp; STATISTICAL TEST&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;------------------------------------------------------------------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="font-family: courier new,courier,monospace; color: #000080;"&gt;&amp;nbsp; 7&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp; 0&amp;nbsp; 0.000003 *&amp;nbsp;&amp;nbsp;&amp;nbsp; 5/10&amp;nbsp;&amp;nbsp; *&amp;nbsp; OverlappingTemplate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The minimum pass rate for this test is 8 for a sample size of 10 binary sequences.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 10:04:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669572#M103083</guid>
      <dc:creator>dhanushkadangam</dc:creator>
      <dc:date>2017-05-31T10:04:46Z</dc:date>
    </item>
    <item>
      <title>Re: NIST statistical test failure on RNG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669573#M103084</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi dhanushka&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;RNG inside CAAM module i.MX6 is identical to the HW used &lt;BR /&gt;in NPD QorIQ devices based on NIST SP800-90.&amp;nbsp; NPD has obtained a certificate for &lt;BR /&gt;RNG and because the HW is the same this certificate also covers i.MX6 as well.&amp;nbsp;&amp;nbsp;&amp;nbsp; See&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fcsrc.nist.gov%2Fgroups%2FSTM%2Fcavp%2Fdocuments%2Fdrbg%2Fdrbgval.html" rel="nofollow" target="_blank"&gt;http://csrc.nist.gov/groups/STM/cavp/documents/drbg/drbgval.html&lt;/A&gt;&lt;SPAN&gt; Validation No 94.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Help with sertification tests can be obtained from Professional Services :&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.nxp.com/external-link.jspa?url=http%3A%2F%2Fwww.nxp.com%2Fsupport%2Fnxp-professional-services%3APROFESSIONAL-SERVICE" rel="nofollow" target="_blank"&gt;http://www.nxp.com/support/nxp-professional-services:PROFESSIONAL-SERVICE&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Best regards&lt;BR /&gt;igor&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 May 2017 23:17:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669573#M103084</guid>
      <dc:creator>igorpadykov</dc:creator>
      <dc:date>2017-05-31T23:17:40Z</dc:date>
    </item>
    <item>
      <title>Re: NIST statistical test failure on RNG</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669574#M103085</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It turned out that we had used wrong parameters for the test;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;./assess 134217728&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #ff0000;"&gt;How many bitstreams? 10&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;when they should have been&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;./assess 1000000&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco,monospace; color: #000080;"&gt;How many bitstreams? 1073&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;With these new parameters, the &lt;STRONG&gt;&lt;EM&gt;Overlapping (Periodic) Template Matching Test&lt;/EM&gt;&lt;/STRONG&gt; passes for all interfaces.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 26 Jun 2017 09:20:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/NIST-statistical-test-failure-on-RNG/m-p/669574#M103085</guid>
      <dc:creator>dhanushkadangam</dc:creator>
      <dc:date>2017-06-26T09:20:00Z</dc:date>
    </item>
  </channel>
</rss>

