HI HangZhang,
We are trying to verify the SW image (signed for secure boot) from RAM using HAB before we flash the same SW as part of secure SW flashing (OTA update). Because, We dont want to use a separate releaae SW signing here.
When we call the Auhenticate image RVT function, passing the start address of image file in RAM, it actually considers the flash address from CSF mentioned in the signed SW.
Block Address (flash) mentioned in the CSF,
Blocks = 0x30000000 0x1000 0x<size> "xxx.bin",\
0x30002000 0x2000 0x<size> "xxx.bin"
In our case, we want the authenticate function to take the address of image stored in RAM. Is there any authenticate function wherein we can pass addresses dynamically (not from the CSF).
Block Address(RAM) to be considered,
Blocks = 0x60001000 0x1000 0x<size> "xxx.bin",\
0x600002000 0x2000 0x<size> "xxx.bin"
Kindly clarify...