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! CRC calculation gives 32 bit number instead of 8 bit

Hello. I'm trying to obtain CRC value from CRC peripheral. It's supposed to give me 8 bit number. Instead it gives me 32 bit number. What am I doing wrong? Below is the code and program outputs. /* USER CODE BEGIN Header */ /** ********************...

Adar70 by Associate II
  • 968 Views
  • 1 replies
  • 1 kudos

Problems with RDP regression

HiWhen I was returning from RDP level 1 to 0 the stm32cube programmer program crashed and now every time I try to access the microcontroller several different cases happen:1- Connect and instantly lose the connection giving the next error: Error: Dat...

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
  • 5426 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
  • 2020 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
  • 837 Views
  • 0 replies
  • 0 kudos