ECDSA Signature verify for a composite file (FW + GUI + Calibration data)
Setup:
Device - STM32H7B3I-DK
Project - STM32H7B3I-DK\Applications\2_Images_ExtFlash
We have Composite firmware update file which contains and stored in external flash which Boot loader will process
- APP firmware (UserApp.sfb )
- GUI resources
- Calibration data
- Other blob (MCU stm32f4 APP image)
This composite file header contains signature of payload(app fimware + gui + calibration data + other blob of data) which is placed in external flash.
What are the API calls which i can make to verify the signature
- SE_CRYPTO_ReadKey_Pub will be able to get the key is this correct way?
- SE_CRYPTO_SHA256_HASH_DigestCompute - computes the hash
- ECDSAverify() - to verify the Signature.
What changes i have to keep in mind for this to work as this part of Secure engine ?
Thanks!


