<?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 Running encrypted image on i.mx6 in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Running-encrypted-image-on-i-mx6/m-p/302341#M38268</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say we have encrypted image which have to be loaded and run at the i.MX6-based board. Image was created and encrypted at some build-server.&lt;/P&gt;&lt;P&gt;According to documentation it is possible to decrypt it using CAAM module but we need to specify keys to decrypt our image in some way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is - how we could store keys for image decryption at the board (e.g. decryption could be made by u-boot)?&lt;/P&gt;&lt;P&gt;Is it possible to use OTPMK fuse block for storing keys (which is quite small)? Or there is another solution to handle such scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is said that in order to run HAB authentication we need to burn some values onto OTPMK fuses block, would it be critical if we try to store our secret keys there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Mar 2014 10:03:38 GMT</pubDate>
    <dc:creator>vadimlomovtsev</dc:creator>
    <dc:date>2014-03-24T10:03:38Z</dc:date>
    <item>
      <title>Running encrypted image on i.mx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Running-encrypted-image-on-i-mx6/m-p/302341#M38268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Let's say we have encrypted image which have to be loaded and run at the i.MX6-based board. Image was created and encrypted at some build-server.&lt;/P&gt;&lt;P&gt;According to documentation it is possible to decrypt it using CAAM module but we need to specify keys to decrypt our image in some way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The question is - how we could store keys for image decryption at the board (e.g. decryption could be made by u-boot)?&lt;/P&gt;&lt;P&gt;Is it possible to use OTPMK fuse block for storing keys (which is quite small)? Or there is another solution to handle such scenarios?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also it is said that in order to run HAB authentication we need to burn some values onto OTPMK fuses block, would it be critical if we try to store our secret keys there?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Mar 2014 10:03:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Running-encrypted-image-on-i-mx6/m-p/302341#M38268</guid>
      <dc:creator>vadimlomovtsev</dc:creator>
      <dc:date>2014-03-24T10:03:38Z</dc:date>
    </item>
    <item>
      <title>Re: Running encrypted image on i.mx6</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Running-encrypted-image-on-i-mx6/m-p/302342#M38269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;The following thread provides some information about CAAM using&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;for application encryption / decryption.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&lt;A class="jive-link-message-small" data-containerid="2004" data-containertype="14" data-objectid="362564" data-objecttype="2" href="https://community.freescale.com/message/362564#362564"&gt;https://community.freescale.com/message/362564#362564&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;As for OTPMK, please refer to i.MX6 Security Reference Manual.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;Note, the OTPMK is factory burned. This means blobs MUST be generated on the i.MX6 :&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;the blob is the DEK (Data Encryption Key) encrypted with the OTP Master Key (programmed &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;in fuses on the i.MX6). &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;&amp;nbsp; So, Your requirement to use own key to encrypt an image &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;on an external server and decrypt &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Verdana','sans-serif';"&gt;it on the i.MX6 is not supported. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 25 Mar 2014 07:07:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Running-encrypted-image-on-i-mx6/m-p/302342#M38269</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2014-03-25T07:07:13Z</dc:date>
    </item>
  </channel>
</rss>

