[secure boot] Is there a way to validate signed firmware externally (e.g without using BROM) ?
Hi,
I'm following https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot tutorial
I'd like to perform a few checks before programming OTP WORD 24 to 31 since, as usual, and as indicated in STM32MP1 reference manual:
An OTP word can be written in multiple shuts. The word value is updatable by adding bits to
1, but a bit already set to 1, cannot be written back at 0
I have generated signing keys.
I have TF-A firmware signed with them.
I can see TF-A header is indeed updated with a 512 bits signature value and a 512 bits pub key value (so as algorithm value).
Is there an existing implemented way to:
- confirm publicKeyhash.bin is matching public key (and algorithm if I understand well) value embedded in firmware header ?
- more generically, perform firmware authentication from an external host PC ?
This would be for me a way to be 101% sure before programming OTP.
Thanks in advance for any useful feedback.
Cheers,
Alexandre.
