Hello,
I have a question for S32K secure boot:
We are using mac generation and verification mechanism from CSEc for secure boot functionality.
As mentioned in below snap from S32K manual, We can use maximum size of data limited to be no more than one read partition,
or less if the starting address is not the start of the read partition.
In our case we are using S32k148, so maximum CMAC can be calculated on 512KB program flash block.
For our project, application area is from 0x50000 – 0x11FFFF which is located on multiple read partitions.
I this case we are facing the issue of cmac calculation over application area.
Can you please support to find out the solution for mac generation over above mentioned application area?
Best Regards,
Wang Lijun
Hi,
I just answered the same question here:
Regards,
Lukas