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! Unexpected results for AES (ECB mode)

Hi folks,I am trying to use the hardware-AES of the STM32WLE5JC, but I get weird results that do not match the expected values. I am comparing my STM-implementation against RadioLib's Crypto which is based on tiny-AES-c and AES-CMAC. RadioLib's imple...

bns by Associate III
  • 1578 Views
  • 6 replies
  • 2 kudos

X-CUBE-CRYPTOLIB problem

Hello, I have created an encrypted file by openssl-aes256-CFB. in openssl IV length should be 128 bit but in X-CUBE-CRYPTOLIB it is not possible,  it cannot set to 128 bit, (HARDFAULT). only i can set 256bit and then received error 0x10003

Tamper configuration in SBSFU code for stm32u5

hi i am trying to work with ST given example code of SBSFU for the U585 controller. Here my requirement is to add the active tampers to the system. in this given code i think tamper is only configured in the bootloader application only.tamper detecti...

sabari1_0-1725342152610.png
sabari1 by Associate III
  • 623 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H5 RDP protection C code

Hi,Currently I can able to RDP protection ie., Product state using STM32CubeProgrammer and it is working.But our requirement is we want to use Any HAL_driver /C-code instead of STM32Cube. Any suggestion. 

STM32F413-Disco board with SBSFU

Hi,I want to use SBSFU with my simple application. I watched https://youtube.com/playlist?list=PLnMKNibPkDnGd7J7fV7tr-4xIBwkNfD--&si=T2hYVP2BWDyQkhAWI successfully implement the SBSFU example project on my board. Here, I've a problem to use SBSFU wit...

Meenakshi by Associate III
  • 382 Views
  • 2 replies
  • 1 kudos

Resolved! STM32H7 SBSFU Firmware Validation

Hi all,I'm new to using the STM secure boot/secure firmware update and I'm trying to understand how the verification works when sending a new firmware image to the board. I got SBSFU running on an STM32H750B-DK dev board and successfully loaded the e...

Resolved! TFM / CubeMX integration

HI,we are interested in a guide to  a clear workflow of integrating CubeMX-generated code for U5 into TFM-based application.In particular:1. We have trustzone-enabled CubeMX-generated app with Azure RTOS and TouchGFX. The IDE and compiler are IAR. We...

bear2023R by Associate III
  • 1731 Views
  • 9 replies
  • 3 kudos

Read Secure World Registers with GDB

Hello everyone,I am currently debugging a Cortex-M33 MCU with TrustZone-M. During my debugging session, I have observed some unexpected behavior when reading the VTOR (Vector Table Offset Register) in both secure and non-secure states using GDB.Backg...

Migrating STM32 Crypto Library from v3.1.5 to v4.2.1

Hi, I am currently working on migrating a project from STM32 Crypto Library version 3.1.5 to version 4.2.1. I would greatly appreciate your assistance with the following queries:Compatibility Inquiry: Is version 4.2.1 compatible with version 3.1.5? S...

Nile by Associate
  • 550 Views
  • 1 replies
  • 0 kudos