<?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のトピックRNG on PUF example code for RT6XX</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1734423#M213623</link>
    <description>&lt;P&gt;I am looking at the SDK and example code for the usage of PUF.&lt;/P&gt;&lt;P&gt;The code at `NXP/MIMXRT6855_SDK/boards/evkmimxrt685/driver_examples/puf/puf.c` starts with the following:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    /* Initialize random number generator used to generate key mask for HW key */
    /* In real application, the seed shall be obtained from a hardware random number generator. */
    srand(0xbabadeda);
    PRINTF("PUF Peripheral Driver Example\r\n\r\n");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the "key mask for HW key" mentioned in the comment?&lt;/P&gt;&lt;P&gt;I would like to understand what is the consequence of using this fixed seed (`0xbabadeda`) and if this is a security risk for the PUF implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
    <pubDate>Thu, 05 Oct 2023 20:09:15 GMT</pubDate>
    <dc:creator>hxp123</dc:creator>
    <dc:date>2023-10-05T20:09:15Z</dc:date>
    <item>
      <title>RNG on PUF example code for RT6XX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1734423#M213623</link>
      <description>&lt;P&gt;I am looking at the SDK and example code for the usage of PUF.&lt;/P&gt;&lt;P&gt;The code at `NXP/MIMXRT6855_SDK/boards/evkmimxrt685/driver_examples/puf/puf.c` starts with the following:&lt;/P&gt;&lt;LI-CODE lang="c"&gt;    /* Initialize random number generator used to generate key mask for HW key */
    /* In real application, the seed shall be obtained from a hardware random number generator. */
    srand(0xbabadeda);
    PRINTF("PUF Peripheral Driver Example\r\n\r\n");&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What is the "key mask for HW key" mentioned in the comment?&lt;/P&gt;&lt;P&gt;I would like to understand what is the consequence of using this fixed seed (`0xbabadeda`) and if this is a security risk for the PUF implementation.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 05 Oct 2023 20:09:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1734423#M213623</guid>
      <dc:creator>hxp123</dc:creator>
      <dc:date>2023-10-05T20:09:15Z</dc:date>
    </item>
    <item>
      <title>Re: RNG on PUF example code for RT6XX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1738876#M213973</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/217158"&gt;@hxp123&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Please help me looking into the "RT6xx User Manual" in the&amp;nbsp;&lt;A href="https://www.nxp.com/products/processors-and-microcontrollers/arm-microcontrollers/i-mx-rt-crossover-mcus/i-mx-rt600-crossover-mcu-with-arm-cortex-m33-and-dsp-cores:i.MX-RT600" target="_blank"&gt;i.MX RT600&lt;/A&gt;&amp;nbsp;page. In chapter 45.11.6.22&amp;nbsp;you can see information for the key mask registers:&lt;/P&gt;
&lt;P class="lia-indent-padding-left-30px"&gt;"This registers is additional protection against Side Channel analysis. It obscures the&lt;BR /&gt;secret key value stored in key hold registers. A random value can be loaded into this&lt;BR /&gt;register."&lt;/P&gt;
&lt;P&gt;As for the fixed seed, random number generator generates random instead of unique numbers. It means that you can get two the same numbers in case of one random number sequence (with one seed). You can refer to this post for more information:&amp;nbsp;&lt;A href="https://community.nxp.com/t5/MQX-Software-Solutions/Non-repetitive-Random-Number-generator/m-p/423128" target="_blank"&gt;Non repetitive Random Number generator - NXP Community&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Here is also an application note about the usage of the PUF in the LPC55sxx, which may be useful:&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12324.pdf" target="_blank"&gt;LPC55Sxx Usage of the Physically Unclonable Function and Hash&lt;/A&gt;.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;BR /&gt;Julián&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 19:04:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1738876#M213973</guid>
      <dc:creator>Julián_AragónM</dc:creator>
      <dc:date>2023-10-12T19:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: RNG on PUF example code for RT6XX</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1738878#M213974</link>
      <description>Thank you very much for the reply, Julián. I'll look into the resources you shared.</description>
      <pubDate>Thu, 12 Oct 2023 19:14:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/RNG-on-PUF-example-code-for-RT6XX/m-p/1738878#M213974</guid>
      <dc:creator>hxp123</dc:creator>
      <dc:date>2023-10-12T19:14:12Z</dc:date>
    </item>
  </channel>
</rss>

