<?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 Non-zero factory AES keys? in LPC Microcontrollers</title>
    <link>https://community.nxp.com/t5/LPC-Microcontrollers/Non-zero-factory-AES-keys/m-p/566290#M17268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IJeffray on Tue Aug 05 02:58:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The UM10503.pdf documentation for the LPC43S20 CPU we're using states that the shipped state of the OTP should be all zeroes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To verify this, I can read OTP3 directly, and see it's all zeroes, which is good.&amp;nbsp; But attempting to read OTP1 or OTP2 causes a fault, which is understandable - these memories are used for storing AES keys which only the ROM routines can access.&amp;nbsp; Good.&amp;nbsp; So in order that I can verify that the device is in the correct shipped state, I encode some data using a software supplied key of all zeroes, then decrypt it using one of the hardware keys.&amp;nbsp;&amp;nbsp; The issue is, the result does not decrypt correctly, meaning that neither of the OTP1 or OTP2 memories is actually zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So two questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1/ What SHOULD the default state of OTP1 and OTP2 be on LPC43Sxx parts which support encryption, if not zero?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2/ How else may I verify that the OTP memories are received in the correct state on the production line?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 15 Jun 2016 18:49:26 GMT</pubDate>
    <dc:creator>lpcware</dc:creator>
    <dc:date>2016-06-15T18:49:26Z</dc:date>
    <item>
      <title>Non-zero factory AES keys?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Non-zero-factory-AES-keys/m-p/566290#M17268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by IJeffray on Tue Aug 05 02:58:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;The UM10503.pdf documentation for the LPC43S20 CPU we're using states that the shipped state of the OTP should be all zeroes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;To verify this, I can read OTP3 directly, and see it's all zeroes, which is good.&amp;nbsp; But attempting to read OTP1 or OTP2 causes a fault, which is understandable - these memories are used for storing AES keys which only the ROM routines can access.&amp;nbsp; Good.&amp;nbsp; So in order that I can verify that the device is in the correct shipped state, I encode some data using a software supplied key of all zeroes, then decrypt it using one of the hardware keys.&amp;nbsp;&amp;nbsp; The issue is, the result does not decrypt correctly, meaning that neither of the OTP1 or OTP2 memories is actually zero.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So two questions:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1/ What SHOULD the default state of OTP1 and OTP2 be on LPC43Sxx parts which support encryption, if not zero?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2/ How else may I verify that the OTP memories are received in the correct state on the production line?&lt;/SPAN&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Non-zero-factory-AES-keys/m-p/566290#M17268</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Non-zero factory AES keys?</title>
      <link>https://community.nxp.com/t5/LPC-Microcontrollers/Non-zero-factory-AES-keys/m-p/566291#M17269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;STRONG&gt;Content originally posted in LPCWare by embd02161991 on Fri Aug 08 16:57:09 MST 2014&lt;/STRONG&gt;&lt;BR /&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. The default state of OTP1 and OTP2 on the 43Sxx parts are all zeros.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2.&amp;nbsp; The OTP banks base address is 40045000 which is documented in the user manual Chapter 4: LPC43xx One-Time Programmable (OTP) memory and API Section 4.4. The OTP banks 1 and 2 have an offset address 0x10 and 0x20 respectively.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please check the OTP memory banks if they are all zeros ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NXP Technical Support&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 15 Jun 2016 18:49:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/LPC-Microcontrollers/Non-zero-factory-AES-keys/m-p/566291#M17269</guid>
      <dc:creator>lpcware</dc:creator>
      <dc:date>2016-06-15T18:49:27Z</dc:date>
    </item>
  </channel>
</rss>

