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

Data security over LoRa

I am worried about the data that i send through the STM32WL55JC if any outsider with the same board and using the same frequency in receiver mode ,can also get the data that i am sending through the transmitter using same frequency ,How do i secure m...

Resolved! CRYPT module

Hi Good day,       Trying to understand the CRYPTO module for MAC generation, particularly AES CBS MAC. Which algorithm mode i have to choose?, found AES CBC not AES CBC MAC.

sarun by Associate III
  • 683 Views
  • 1 replies
  • 2 kudos

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
  • 880 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
  • 884 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
  • 5170 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
  • 1850 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...