<?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 RT Crossover MCUsのトピックRe: How is dek.bin generated.</title>
    <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-is-dek-bin-generated/m-p/1578844#M23218</link>
    <description>&lt;P&gt;dek.bin is used in&amp;nbsp;&lt;SPAN&gt;MCUBootUtility when you set 'HAB Encrypted Image Boot' mode. you can find it in&amp;nbsp;\NXP-MCUBootUtility\gen\hab_crypto\hab_dek.bin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: To enable this mode, you need to install cst tool for MCUBootUtility&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 08 Jan 2023 14:22:00 GMT</pubDate>
    <dc:creator>jay_heng</dc:creator>
    <dc:date>2023-01-08T14:22:00Z</dc:date>
    <item>
      <title>How is dek.bin generated.</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-is-dek-bin-generated/m-p/1576952#M23167</link>
      <description>&lt;P&gt;I am trying to produce an encrypted firmware image using elftosb.&lt;/P&gt;&lt;P&gt;I have read a number of documents, e.g. AN12079,&amp;nbsp;i.MX RT1060 Manufacturing UG, and they refer to a .bd file containing...&lt;/P&gt;&lt;P&gt;&lt;EM&gt;section (SEC_CSF_INSTALL_SECRET_KEY;&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SecretKey_Name="dek.bin",&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SecretKey_Length=128,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SecretKey_VerifyIndex=0,&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;SecretKey_TargetIndex=0)&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;{&lt;/EM&gt;&lt;BR /&gt;&lt;EM&gt;}&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;How can I generate dek.bin, which I believe is the 16-byte AES 128 key?&lt;/P&gt;&lt;P&gt;I have run hab4_pki_tree.bat in CST tools and&amp;nbsp;srktool to generate the keys and certs, but this does not produce a dek.bin.&lt;/P&gt;&lt;P&gt;The requirement is to encrypt the (elf) firmware image, download to qspi NOR flash and execute using BEE and DCP.&lt;/P&gt;&lt;P&gt;There are a number of NXP GUI encryption apps, Mfgtool, MCUXSPtool, MCUBootUtility etc, but these don't use dek.bin and they are they can't be used for OTA firmware upgrade.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jan 2023 08:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-is-dek-bin-generated/m-p/1576952#M23167</guid>
      <dc:creator>tonythurood2</dc:creator>
      <dc:date>2023-01-04T08:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: How is dek.bin generated.</title>
      <link>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-is-dek-bin-generated/m-p/1578844#M23218</link>
      <description>&lt;P&gt;dek.bin is used in&amp;nbsp;&lt;SPAN&gt;MCUBootUtility when you set 'HAB Encrypted Image Boot' mode. you can find it in&amp;nbsp;\NXP-MCUBootUtility\gen\hab_crypto\hab_dek.bin.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Note: To enable this mode, you need to install cst tool for MCUBootUtility&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 08 Jan 2023 14:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-RT-Crossover-MCUs/How-is-dek-bin-generated/m-p/1578844#M23218</guid>
      <dc:creator>jay_heng</dc:creator>
      <dc:date>2023-01-08T14:22:00Z</dc:date>
    </item>
  </channel>
</rss>

