<?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: Fast authentication - secure boot for i.MX6ull in i.MX Processors</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1159312#M162547</link>
    <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/99897"&gt;@prabhunath_gupt&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Private keys are mandatory to sign the boot image.&lt;BR /&gt;&amp;nbsp; From section 2 (Overview) of AN4581 (i.MX Secure Boot on HABv4 Supported Devices,&lt;BR /&gt;Rev. 4, June 2020):&lt;BR /&gt;&amp;nbsp; "High Assurance Boot (HAB) authentication is based on public key cryptography&lt;BR /&gt;using the RSA or ECDSA algorithms in which image data is signed offline using &lt;BR /&gt;a series of private keys. The resulting signed image data is then verified on &lt;BR /&gt;the i.MX processor using the corresponding public keys."&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Sep 2020 11:15:32 GMT</pubDate>
    <dc:creator>Yuri</dc:creator>
    <dc:date>2020-09-25T11:15:32Z</dc:date>
    <item>
      <title>Fast authentication - secure boot for i.MX6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1158417#M162444</link>
      <description>&lt;P&gt;Hello NXP team,&lt;/P&gt;&lt;P&gt;Hope you are doing well.&lt;/P&gt;&lt;P&gt;Based on your last inputs, I have tested the secure boot feature with legacy PKI tree certificates and it was working fine. Please find below the content for the u-boot CSF file.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;SPAN&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = SW&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;File = "../../crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install CSFK]&lt;BR /&gt;File = "../../crts/CSF1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Install Key]&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Target index = 2&lt;BR /&gt;File = "../../crts/IMG1_1_sha256_2048_65537_v3_usr_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 2&lt;BR /&gt;Blocks = 0X877FF400 0x0 666624 "u-boot-pad.bin"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;With the above CSF file, I am not getting any HAB events and secure boot is working fine.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;We want to reduce the boot time and validate the fast authentication feature, please find below the CSF file for the same.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#993300"&gt;&lt;SPAN&gt;[Header]&lt;BR /&gt;Version = 4.2&lt;BR /&gt;Hash Algorithm = sha256&lt;BR /&gt;Engine Configuration = 0&lt;BR /&gt;Certificate Format = X509&lt;BR /&gt;Signature Format = CMS&lt;BR /&gt;Engine = SW&lt;BR /&gt;&lt;BR /&gt;[Install SRK]&lt;BR /&gt;File = "../../crts/SRK_1_2_3_4_table.bin"&lt;BR /&gt;Source index = 0&lt;BR /&gt;&lt;BR /&gt;[Install NOCAK]&lt;BR /&gt;File = "../../crts/SRK1_sha256_2048_65537_v3_ca_crt.pem"&lt;BR /&gt;&lt;BR /&gt;[Authenticate CSF]&lt;BR /&gt;&lt;BR /&gt;[Authenticate Data]&lt;BR /&gt;Verification index = 0&lt;BR /&gt;Blocks = 0X877FF400 0x0 666624 "u-boot-pad.bin"&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I am getting below hab events so I need your help to fix this issue.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;HAB Configuration: 0xf0, HAB State: 0x66&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;--------- HAB Event 1 -----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;event data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x00 0x87 0x7f 0xf4 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x20&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;--------- HAB Event 2 -----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;event data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x00 0x87 0x7f 0xf4 0x2c&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x01 0xe8&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;--------- HAB Event 3 -----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;event data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x00 0x87 0x7f 0xf4 0x20&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x01&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;--------- HAB Event 4 -----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;event data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xdb 0x00 0x14 0x42 0x33 0x0c 0xa0 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x00 0x87 0x80 0x00 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x04&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;RSN = HAB_INV_ASSERTION (0x0C)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;CTX = HAB_CTX_ASSERT (0xA0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;--------- HAB Event 5 -----------------&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;event data:&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xdb 0x00 0x14 0x42 0x33 0x21 0xc0 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0xbe 0x00 0x0c 0x00 0x03 0x17 0x00 0x00&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;0x00 0x00 0x00 0x30&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#003300"&gt;STS = HAB_FAILURE (0x33)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;RSN = HAB_INV_CERTIFICATE (0x21)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;CTX = HAB_CTX_COMMAND (0xC0)&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#003300"&gt;ENG = HAB_ENG_ANY (0x00)&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Please find below setup details.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;CST tool version : 3.2.0&lt;/P&gt;&lt;P&gt;Custom board having i.MX6ull&lt;/P&gt;&lt;P&gt;Yocto build: Warrior&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please answer the below queries.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;If my security team will provide 4 SRK certificates only, is it possible to do a secure boot (fast authentication)with those SRK certificates and avoid "hab4_pki_tree.sh" steps for generating key and crts. Please note they will not give me the private key and my custom board having i.MX6ull processor.&lt;/LI&gt;&lt;LI&gt;Is Fast authentication on the i.MX6ull processor ?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Prabhunath Gupt&lt;/P&gt;</description>
      <pubDate>Thu, 24 Sep 2020 06:50:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1158417#M162444</guid>
      <dc:creator>prabhunath_gupt</dc:creator>
      <dc:date>2020-09-24T06:50:49Z</dc:date>
    </item>
    <item>
      <title>Re: Fast authentication - secure boot for i.MX6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1159312#M162547</link>
      <description>&lt;P&gt;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/99897"&gt;@prabhunath_gupt&lt;/a&gt;&amp;nbsp;&lt;BR /&gt;Hello,&lt;/P&gt;
&lt;P&gt;&amp;nbsp; Private keys are mandatory to sign the boot image.&lt;BR /&gt;&amp;nbsp; From section 2 (Overview) of AN4581 (i.MX Secure Boot on HABv4 Supported Devices,&lt;BR /&gt;Rev. 4, June 2020):&lt;BR /&gt;&amp;nbsp; "High Assurance Boot (HAB) authentication is based on public key cryptography&lt;BR /&gt;using the RSA or ECDSA algorithms in which image data is signed offline using &lt;BR /&gt;a series of private keys. The resulting signed image data is then verified on &lt;BR /&gt;the i.MX processor using the corresponding public keys."&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Yuri.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Sep 2020 11:15:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1159312#M162547</guid>
      <dc:creator>Yuri</dc:creator>
      <dc:date>2020-09-25T11:15:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fast authentication - secure boot for i.MX6ull</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1159747#M162596</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/1941"&gt;@Yuri&lt;/a&gt;&amp;nbsp; for your response.&lt;/P&gt;</description>
      <pubDate>Sun, 27 Sep 2020 15:57:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/Fast-authentication-secure-boot-for-i-MX6ull/m-p/1159747#M162596</guid>
      <dc:creator>prabhunath_gupt</dc:creator>
      <dc:date>2020-09-27T15:57:51Z</dc:date>
    </item>
  </channel>
</rss>

