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! AES peripheral works differently

I want to use AES peripheral for encryption in ECB mode (256). I am able to encrypt and decrypt on the same MCU, but if I compare the encryption results, the HW peripheral has a different result than the SW library AES.c or encryption in Python - the...

JR2963 by Senior II
  • 2030 Views
  • 8 replies
  • 2 kudos

Resolved! Cryptographic Library

Hi,I am currently using the M3_CryptoFW_RngHW_2_0_6.lib for MDK-ARM. However, I must adhere to this specific library version, and I now need it for IAR, meaning that the required library is M3_CryptoFW_RngHW_2_0_6.a. How can I obtain this version for...

ari_v2 by Senior
  • 995 Views
  • 2 replies
  • 0 kudos

Resolved! Updating the uROT signature remotely in a production device

Here is my attempt at background as I understand it... iROT is a ROM program in the STM32H563. It contains a P256 EC algorithm, and checks some section of FLASH that you define as a program for a signature, then jumps to it. The definition of the pro...

MBC by Associate III
  • 4091 Views
  • 6 replies
  • 2 kudos

Add a binary header and a sbsfu segment to an elf file

I have a problem with merge SBSFU .elf file and application .elf.I prepared:SBSFU.elf - addresses in linker script: 0x08000000 - 0x08020000application.elf - 0x08020400 - 0x081FFFFFheader.bin - size: 1024BSo I suppose, that like in SBSFU example heade...

MButk.1 by Associate
  • 2343 Views
  • 8 replies
  • 1 kudos

Resolved! SBSFU --> MCU Boot with STM32U585 without Trustzone

Hi all,we would implement SBSFU (Secure Boot and Secure Firmware Update) on STM32U585.Our goals are:application do not use TrustZone feature (TZ_EN = 0)we want to avoid access to MCU on field (Device protection, for exapmle RDP = 1)question: if on fi...

SafeDev by Associate II
  • 2113 Views
  • 3 replies
  • 0 kudos

Resolved! SBSFU | KMS | How to use KMS_GenerateKeyPair()

Hello all.I have a question about how to use KMS_GenerateKeyPair() function. There are no examples in the code, and API description is not really enough for my little brain. Could somebody provide me an example on how it should be used? What kind of ...

SBSFU project structure and setup?

Hi,My question is about project structure.To implement SBSFU what is the best or correct approach if I have a project that I would like to flash to a target incorporating SBSFU?Import four project folders (SBSFU, SECoreBin, UserApp and MyProject) int...

DHard.2 by Associate II
  • 2415 Views
  • 9 replies
  • 0 kudos

Resolved! RDP of STM32G0B1xB/xC/xE

Hello .According to the reference manual, the default RDP level is set to level 1. However, after performing a full erase with ST-Link and then writing the hex file, the RDP level was found to be set to 0.I would like to set the RDP level to 1 at the...

aki49 by Associate II
  • 1540 Views
  • 4 replies
  • 2 kudos