<?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 Re: IMX6Q, encryption, &amp; swupdate in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-encryption-swupdate/m-p/760106#M118136</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The following thread helps to implement using&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; of key blob scheme &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;with CAAM module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/433262"&gt;Example code on blob generation and usage on i.MX6UL platform&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 04 Jan 2018 04:02:50 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2018-01-04T04:02:50Z</dc:date>
    <item>
      <title>IMX6Q, encryption, &amp; swupdate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-encryption-swupdate/m-p/760105#M118135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey All:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using swupdate with an A/B partition scheme to support software update on one of our projects running on an iMX6Q.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;swupdate supports installing images encrypted with symmetric AES-256 keys as described here:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://sbabic.github.io/swupdate/encrypted_images.html" title="https://sbabic.github.io/swupdate/encrypted_images.html"&gt;Symmetrically Encrypted Update Images — Embedded Software Update Documentation 2017.11 documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Basically you have to (temporarily at least) write the key as a single line in a file and run the swupdate command line utility with the file as an argument.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to a way to securely store the key on the device. This is the procedure I had in mind:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) Use the CAAM in the MX6 to store an AES-256 key&amp;nbsp;in the SNVS during manufacturing&lt;/P&gt;&lt;P&gt;2) Access the key from a root shell during software update&lt;/P&gt;&lt;P&gt;3)&amp;nbsp;Write the key to a file in a volatile tmpfs&lt;/P&gt;&lt;P&gt;4) Run swupdate with the key&lt;/P&gt;&lt;P&gt;5) Nuke the key file and reboot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is this possible? Do you guys have a better suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;-Erik Bolton&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jan 2018 20:00:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-encryption-swupdate/m-p/760105#M118135</guid>
      <dc:creator>erikbolton</dc:creator>
      <dc:date>2018-01-03T20:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: IMX6Q, encryption, &amp; swupdate</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-encryption-swupdate/m-p/760106#M118136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; The following thread helps to implement using&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt; of key blob scheme &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 16px; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; background-color: #ffffff; text-decoration-style: initial; text-decoration-color: initial; display: inline !important; float: none;"&gt;with CAAM module.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/433262"&gt;Example code on blob generation and usage on i.MX6UL platform&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Yuri&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&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>Thu, 04 Jan 2018 04:02:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/IMX6Q-encryption-swupdate/m-p/760106#M118136</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-01-04T04:02:50Z</dc:date>
    </item>
  </channel>
</rss>

