<?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 ProcessorsのトピックUBOOT or Kernel CSF Padding Size</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/UBOOT-or-Kernel-CSF-Padding-Size/m-p/848539#M129889</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sections 2 and G of AN4581 suggest CSF region is optional padded to 0x4000 byte boundary.&amp;nbsp; However, this Yocto secure boot workshop page on this site (step 12 of&amp;nbsp;DOC-333362) suggest is require to match whatever defined in UBOOT symbol CSF_PAD_SIZE (per /arch/arm/imx-common/hab.c).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I suspect CSF region grows with increasing hash/key size usage.&amp;nbsp; Currently I have UBoot using CSF_PAD_SIZE=0x2000 because using sha256 and 2048 RSA keys causes the CST tool to produce CSF region of only about 0x1000 bytes in size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my questions are:&lt;/P&gt;&lt;P&gt;1) Is it optional or required?&lt;/P&gt;&lt;P&gt;2) if required then what should I size be set to?&lt;/P&gt;&lt;P&gt;3) Perhaps this padding only applies to kernel image that UBoot must authenticate or does HAB ROM expect CSF padding for UBoot image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the latest UBoot I get from Digi appears that this can be defined by a target "board" config makefile mechanism (suspect can be added as CONFIG_CSF_SIZE to ccimx6dlsbc_defconfig).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 07 Dec 2018 20:11:15 GMT</pubDate>
    <dc:creator>paul_holmquist</dc:creator>
    <dc:date>2018-12-07T20:11:15Z</dc:date>
    <item>
      <title>UBOOT or Kernel CSF Padding Size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBOOT-or-Kernel-CSF-Padding-Size/m-p/848539#M129889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sections 2 and G of AN4581 suggest CSF region is optional padded to 0x4000 byte boundary.&amp;nbsp; However, this Yocto secure boot workshop page on this site (step 12 of&amp;nbsp;DOC-333362) suggest is require to match whatever defined in UBOOT symbol CSF_PAD_SIZE (per /arch/arm/imx-common/hab.c).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I suspect CSF region grows with increasing hash/key size usage.&amp;nbsp; Currently I have UBoot using CSF_PAD_SIZE=0x2000 because using sha256 and 2048 RSA keys causes the CST tool to produce CSF region of only about 0x1000 bytes in size.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my questions are:&lt;/P&gt;&lt;P&gt;1) Is it optional or required?&lt;/P&gt;&lt;P&gt;2) if required then what should I size be set to?&lt;/P&gt;&lt;P&gt;3) Perhaps this padding only applies to kernel image that UBoot must authenticate or does HAB ROM expect CSF padding for UBoot image?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the latest UBoot I get from Digi appears that this can be defined by a target "board" config makefile mechanism (suspect can be added as CONFIG_CSF_SIZE to ccimx6dlsbc_defconfig).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Dec 2018 20:11:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBOOT-or-Kernel-CSF-Padding-Size/m-p/848539#M129889</guid>
      <dc:creator>paul_holmquist</dc:creator>
      <dc:date>2018-12-07T20:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: UBOOT or Kernel CSF Padding Size</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/UBOOT-or-Kernel-CSF-Padding-Size/m-p/848540#M129890</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;&amp;nbsp; The padding is used mainly for convenience.&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>Wed, 19 Dec 2018 07:59:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/UBOOT-or-Kernel-CSF-Padding-Size/m-p/848540#M129890</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2018-12-19T07:59:28Z</dc:date>
    </item>
  </channel>
</rss>

