<?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 Signing rootfs using cst for Secure boot on iMX8MP in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1766258#M216615</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am trying to secure boot my custom iM8MP soc board. I have already secured uboot and kernel following the various documents provided. But I am having trouble extending the root of trust to rootfs. I am using wic file for kernel and rootfs. The filesystem type for rootfs is ext4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can I get the procedure to sign rootfs using csf and cst? Thank you.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 30 Nov 2023 07:23:54 GMT</pubDate>
    <dc:creator>gaurav_bankar</dc:creator>
    <dc:date>2023-11-30T07:23:54Z</dc:date>
    <item>
      <title>Signing rootfs using cst for Secure boot on iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1766258#M216615</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;I am trying to secure boot my custom iM8MP soc board. I have already secured uboot and kernel following the various documents provided. But I am having trouble extending the root of trust to rootfs. I am using wic file for kernel and rootfs. The filesystem type for rootfs is ext4.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; Can I get the procedure to sign rootfs using csf and cst? Thank you.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 30 Nov 2023 07:23:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1766258#M216615</guid>
      <dc:creator>gaurav_bankar</dc:creator>
      <dc:date>2023-11-30T07:23:54Z</dc:date>
    </item>
    <item>
      <title>Re: Signing rootfs using cst for Secure boot on iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1767175#M216692</link>
      <description>&lt;P&gt;I'd recommend&amp;nbsp;&lt;A href="https://www.nxp.com/webapp/sps/download/preDownload.jsp?render=true" target="_blank"&gt;i.MX Encrypted Storage Using CAAM Secure Keys (nxp.com)&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards&lt;/P&gt;
&lt;P&gt;Harvey&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 09:21:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1767175#M216692</guid>
      <dc:creator>Harvey021</dc:creator>
      <dc:date>2023-12-01T09:21:37Z</dc:date>
    </item>
    <item>
      <title>Re: Signing rootfs using cst for Secure boot on iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1767278#M216704</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Securing the rootfs on your custom iM8MP SOC board involves creating a CSF file with commands to authenticate the rootfs, signing it using CST with your private key, and configuring your bootloader to use this signed CSF for authentication during the boot process. Ensure that the public key corresponding to your private key is properly embedded in your SOC's ROM or fused into the device during manufacturing.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Dec 2023 12:20:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1767278#M216704</guid>
      <dc:creator>Torylyrs</dc:creator>
      <dc:date>2023-12-01T12:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Signing rootfs using cst for Secure boot on iMX8MP</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1775356#M217439</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/192970"&gt;@Harvey021&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I am following your suggestion of using&amp;nbsp;i.MX Encrypted Storage Using CAAM Secure Keys, rev 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am following the document and made the necessary changes in the defconfig file to include CAAM and DM-crypt&amp;nbsp;&lt;/P&gt;&lt;P&gt;# Enable DM-Crypt and its dependencies&lt;BR /&gt;CONFIG_BLK_DEV_DM=y&lt;BR /&gt;CONFIG_BLK_DEV_MD=y&lt;BR /&gt;CONFIG_MD=y&lt;BR /&gt;CONFIG_DM_CRYPT=y&lt;BR /&gt;CONFIG_DM_MULTIPATH=y&lt;BR /&gt;# Enable CAAM black key/blob driver and its dependencies (this is enabled, by default)&lt;BR /&gt;CONFIG_CRYPTO_DEV_FSL_CAAM_TK_API=y&lt;/P&gt;&lt;P&gt;I have also added&amp;nbsp;&lt;/P&gt;&lt;P&gt;CONFIG_CRYPTO=y&lt;/P&gt;&lt;P&gt;I have made a build with the suggestions made in the document.&lt;/P&gt;&lt;P&gt;According to section 3.2 of AN12714 rev 2 the first point to make sure that cryptographic transformations using Tagged Key are registered. I am not able to see the tagged key in my build.&amp;nbsp;&lt;/P&gt;&lt;P&gt;I do not get any response to this command : cat /proc/crypto | grep -B1 -A2 tk&lt;/P&gt;&lt;P&gt;I am attaching my defconfig for your reference.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also the document explains about creating a secure volume through image file and then mounting it. But how can I secure an already mounted volume. I want my partitions to be already encrypted before the mounting process during device startup. How can I achieve it ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 15 Dec 2023 07:06:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Signing-rootfs-using-cst-for-Secure-boot-on-iMX8MP/m-p/1775356#M217439</guid>
      <dc:creator>gaurav_bankar</dc:creator>
      <dc:date>2023-12-15T07:06:47Z</dc:date>
    </item>
  </channel>
</rss>

