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

I have a product going to market that uses a stm32l486xx processor. There are two CVEs that apply to this micro, CVE-2021-29414 and CVE-2020-27212. Can anyone tell me what the first CVE means?

Also, apparently CVE-2020-27212 means that you can bypass flash readout protection. Is that a correct reading of that CVE? Note that searching both the ST main site and the community site produce no hits for either CVE, and trying to determine the ...

Resolved! CPU is locked while disabling the TrustZone on the STM32U575ZIQ Nucleo board. I set level to DC(level1) and now I am not able to connect the board to Cube Programmer and throws "Connection to target must be established before performing the read command."

https://youtu.be/LG474meMnagI was using this above video for reference. I had TrustZone enabled on the board and wanted to disable it. As per the video I first set it to DC from AA level in cube programmer. Then disconnected the board and power cycle...

pkulk.1 by Associate II
  • 2577 Views
  • 6 replies
  • 0 kudos

Resolved! Can SBSFU internal loader enabled in RDP_LVL 2 mode ??

We have plan to support application down-loader from Application context. It means Application has ability to receive new application over the air. Not SBSFU.In case of Active application got corrupted somehow, then SBSFU is locked the MCU, as we los...

SPati.7 by Associate III
  • 2783 Views
  • 13 replies
  • 0 kudos

Resolved! CRC8 with HAL for Stm32 and Python

I am quite new with embedded programming. I must implement CRC8 with HAL and have tried to implement the CRC8 in python at the other end. Have used the crc8 library but both results don’t match. Is there anybody who could give me a hand to implement ...

RPG by Senior
  • 5225 Views
  • 10 replies
  • 0 kudos

Crypto lib - how to load .pem file? I have to use a public key provided to me in a .pem file to encrypt an array of bytes. What is the easiest way to compile or include the .pem file into STM32CubeIDE project as an array of bytes?

Also, the crypto functions require a key made up of an exponent and a modulus. The examples only show these as two separate arrays. How do I get from a single array I have hopefully included from the pem file into these two separate arrays? What is t...

SLevi.1 by Associate III
  • 2300 Views
  • 2 replies
  • 0 kudos

CRYP issue when Timer is used as Timebase Source

Hi, I have nucleo-h753ZI and I want to use CRYP in a project that also uses FREERTOS. I set Timer 6 as Timebase Source (recommended due to FREERTOS) and as a result, program goes to HardFault every time I use HAL_CRYP_Encrypt function.HAL_CRYP_Decryp...

MattCZ by Associate
  • 1787 Views
  • 4 replies
  • 0 kudos