questions for signing and authenticating secure boot images

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

questions for signing and authenticating secure boot images

607 Views
Luke-Hsieh
Contributor III

Hello NXP Team,

 

I am working on Secure Boot Implementation based on i.MX8M Nano processor.

I think there's a good example for imx-boot image in mx8m_secure_boot.txt, but I have the questions for other images and authentication.

 

1) How does this work ?

 

[Authenticate Data]
    # Key slot index used to authenticate the image data
    Verification index = 2
    # Authenticate Start Address, Offset, Length and file
    Blocks = 0x80800000 0x00000000 0x006EA000 "zImage", \
	     0x83800000 0x00000000 0x0000B927 "imx7d-sdb.dtb", \
	     0x84000000 0x00000000 0x000425B8 "uTee-7dsdb"

 

 

Does cst binary really generate the CSF of calculating 3 images ?

If so, I should load zImage+imx7d-sdb.dtb+uTee-7dsdb to <Load Address> and assign 0x6EA000+0xB927+0x425B8 to <Image Size>, right ?

It's good we can make sure all images are released officially by authenticating a single image and fixes the problem of unsigned DTB which was discussed in other ticket.

https://community.nxp.com/t5/i-MX-Processors/Signing-DTB-in-Secure-Boot-Implementation/m-p/1231306  

 

- Authenticate additional image:
  => hab_auth_img <Load Address> <Image Size> <IVT Offset>

 

 

 

2) Are there any document or sample code talking about the similar function like hab_auth_img in Linux ?

The idea is make sure the image passes the authentication before overwrite the FOTA images into eMMC.

 

Thanks.

 

Labels (1)
0 Kudos
Reply
1 Reply

591 Views
Luke-Hsieh
Contributor III

Hello NXP Team,

 

Is my question not clear ?

 

0 Kudos
Reply