Skip to main content
Visitor II
August 23, 2022
Solved

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

  • August 23, 2022
  • 1 reply
  • 1409 views

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.

    This topic has been closed for replies.
    Best answer by OlivierK

    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

    1 reply

    OlivierKAnswer
    Technical Moderator
    September 5, 2022

    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