cancel
Showing results for 
Search instead for 
Did you mean: 

What data types are used for the fields in the STM header of binary files when the signature/sha256 is generated?

GWu.4
Associate

We are trying to verify the signature generated by the STM signing tool. From this link, in the table for "On STM32MP15x lines", we need to know what data type is used for each field when the signature hash (sha256) is created so we can replicate it.

1 ACCEPTED SOLUTION

Accepted Solutions
OlivierK
ST Employee

Hi GWu.4 (Community Member)

For the bitfields did you have a look at the SigningTool page:

https://wiki.st.com/stm32mpu/wiki/Signing_tool

Using the help from the SigningTool command line version, you can also check all the data fields to be entered. For that you need to understand how the ROM code secure boot works and which algorithm are processed to authenticate and potentially decrypt a signed image.

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_code_secure_boot#Image_signing

View solution in original post

1 REPLY 1
OlivierK
ST Employee

Hi GWu.4 (Community Member)

For the bitfields did you have a look at the SigningTool page:

https://wiki.st.com/stm32mpu/wiki/Signing_tool

Using the help from the SigningTool command line version, you can also check all the data fields to be entered. For that you need to understand how the ROM code secure boot works and which algorithm are processed to authenticate and potentially decrypt a signed image.

https://wiki.st.com/stm32mpu/wiki/STM32_MPU_ROM_code_secure_boot#Image_signing