STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Port KMS to STM32H7A3

Hi experts,I need to implement the storage of a security key (upgradable) on STM32H7A3. After reading the example code of KMS under project B-L475E-IOT01A in x-cube-sbsfu, and a few posts in the forum (KSM support on STMH7  and 2-images-kms-port-to-s...

JQiao.1 by Associate II
  • 233 Views
  • 1 replies
  • 0 kudos

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
  • 693 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
  • 364 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
  • 640 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
  • 795 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
  • 850 Views
  • 3 replies
  • 0 kudos

Resolved! Secure Manager in DFU Mode

Hello, Actually am using STM32H5 board am able to load the secure manager using ST-Link Debugger but i would like to load the secure manager using usb dfu mode, is there any possiblity to load it.

Hitesh by Associate III
  • 852 Views
  • 7 replies
  • 3 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 ...