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

Using Tamper with TF-M in STM32U5

Hi,In TFM and SBSFU applications, by default the anti-tamper protection is enabled for both internal tamper events and external tamper events. It is activated at the start of TFM_SBSFU_Boot, and remains active.In case of tamper detection, sensitive d...

ZKRAC.1 by Associate II
  • 1166 Views
  • 1 replies
  • 0 kudos

cmox_rsa_pkcs1v15_verify() returns CMOX_RSA_AUTH_FAIL

Working on a project using STM32G071CBT6. Using STM32CubeExpansion_Crypto_V4.0.1 Projects NUCLEO-G071RB Applications RSA PKCS1v1.5_SignVerify RoutinesTrying to sign a 138 byte msg.cmox_rsa_pkcs1v15_verify() returns CMOX_RSA_AUTH_FAILAny suggestions?

YGarg by Associate II
  • 978 Views
  • 2 replies
  • 0 kudos

SBSFU keeps rebooting - SE_IsUnprivileged() always return 1

Hi,I'm trying to implement secure boot and secure firmware update on STM32F415RGT6 but I'm having hard time with SBSFU code.I already compiled the example STM32F413H-Discovery making adjustment for flash and ram in linker file. Then I runned the SBSF...

0693W00000Nt1U6QAJ.png 0693W00000Nt1UYQAZ.png
G.Poma2 by Associate
  • 699 Views
  • 1 replies
  • 0 kudos

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
  • 2364 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
  • 2613 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
  • 4891 Views
  • 10 replies
  • 0 kudos