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! CMOX ECDSA KeyGen Public Key not valid

Hi,I´m trying to implement a simple ECDH test by implementing the functions from the Cryptographic Library V4.2.0.There are two persons A and B generating a pair of private and public keys. The keys are generated by the cmox_ecdsa_keyGen(...) functio...

Jonas3 by Associate II
  • 1066 Views
  • 1 replies
  • 0 kudos

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
  • 1005 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
  • 5678 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
  • 2297 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...