cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H745: Firmware signature verification failure in bootloader

Ajay_Bhatt
Associate

Hi Team,
Firmware file are just signed not encrypted through STM32 SigningTool - stm32mcu (STM32_SigningTool_CLI.exe) after generating public and private keys through STM32_KeyGen_CLI.exe.

Public key in raw 64 bytes is provided to bootloader_main.c as constant and hash is calculated from firmware data file after placing it at known location.
Able to verify magic number as after signing a firmware file a header of 256 bytes is placed at top but failing to verify ECDSA signature. Using API ECDSAverify from legacy_v3 cryptographic library to verify signature.

Please anyone help me with example as a reference to know where it is getting wrong.

0 REPLIES 0