Dear NXPs:
My Flash layout is as shown below:
My trust chain is like this:
1.CSEc boot ROM verifies the bootmanaer image, and executes bootmanaer after verification.
2.The bootmanager verifies the bootloader and executes the bootloader after completion.
3.The bootloader verifies the application and executes the application after completion.
My question is during step 2 and step 3, should I use the 0x02-ENC-CBC (AN5401) I/F of the CSEC component to calculate the CMAC values of the bootloader and application image?