STM32 MCUs Security

Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! Firmware authenticity verification with ECDSA

Hello,I am using the X-CUBE-SBSFU package with the KMS to perform firmware update on my ST MCU.To verify the authenticity of the firmware I use ECDSA. However, I don't understand why I only need to provide a private key but not the public key. If I u...

BEnge.1 by Associate III
  • 5359 Views
  • 4 replies
  • 1 kudos

X-CUBE-CRYPTOLIB: ECDSA invalid public key format

Hi,I'm using STM32CubeExpansion_Crypto_V4.0.1 library for verifying a signed firmware file on STM32F7 controller. The key-pair has been generated using openssl command-line. The firmware has been signed using the private key (PEM). The signature has ...

SRB by Associate II
  • 1957 Views
  • 5 replies
  • 0 kudos

STM32H745 sbsfu merge for cm4 and cm7?

I'm successfully implemented IAP for stm32h745. so I wish upgrade to sbsfu.Sbsfu has security firmware upgrade. When i implement for IAP, Firmware file was merged cm4, cm7 binary file using Srecord.If I merge files, won't the integrity of the firmwar...

Resolved! Managing Keys Securely

Hi Team,I am working on a project involving the STM32H5 microcontroller and I am in need of information on how to manage the keys securely for encryption and decryption. I have been unable to find a document that covers this topic specifically for th...

Provisioning Failed

Hello,I am working on Secure Boot for one of the project having the following list of information,Board : B-U585I-IOT02ADevice name : STM32U575/STM32U585Device type : MCUDevice CPU : Cortex-M33 I am trying to boot the device using generated keys with...

jjshant by Associate
  • 818 Views
  • 0 replies
  • 0 kudos

Hardfault in RDP Level Change

Hello, I am writing code for changing the RDP Level, but I am facing a hard fault trigger in the code:this is the line after unlocking the FLASH_CR_LOCK, and FLASH_CR_OPTLOCK. After unlocking able to change the RDP level to 1 or 2 but as soon the deb...

PoojaAgri by Associate II
  • 1215 Views
  • 5 replies
  • 3 kudos

Resolved! SBSFU SFB update package size question

Hello,I am developing an application on STM32H7 MCU which uses SBSFU bootloader for secure firmware updates. I am trying to combine the SFB update package with some additional data in a single binary file that is sent for the firmware. To make this w...

sute by Associate III
  • 776 Views
  • 1 replies
  • 0 kudos