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

Setting AES128-CMAC and STM32G0 on CubeIde

Hi,Im looking for encryp using internal AES peripheral that the STM32G0 has.I need touse "AES128-CMAC" but i dont found the option in HAL libraries to set "hcryp.Init.Algorithm=XXX" and "defgroup CRYP_Algorithm_Mode CRYP Algorithm Mode" library optio...

Dosan by Associate III
  • 829 Views
  • 0 replies
  • 0 kudos

Custom header in SBSFU

Hello,  Is it possible to custom the header of a firmware for SBSFU ? I want to add 2 variables but it's not working. I have authentification failure. But I don't change the size and position in the structure because I used the "reserved" bytes. (the...

Esaab.1 by Associate
  • 862 Views
  • 0 replies
  • 0 kudos

Question on Trust Zone performances

Hi, I’m working on a STM32L552ZEQ.My goal is to generate a pair of RSA keys of 2048 bits using the Trust Zone.Before start using the Trust Zone, I wrote the code to generate the RSA key pair (of 2048 bits) without the Trust Zone, and the average time...

Bad parameters error for AES CBC encryption

I'm using cmox_ecdh for generating shared key for STM32G431KBT6. I tried using single call API from AES_CBC_EncryptDecrypt example and provided Computed_Secret instead of Key in cmox_cipher_encrypt function but I get bad parameters error. I dWith the...

mickey by Associate II
  • 746 Views
  • 0 replies
  • 0 kudos

Resolved! How to create signed firmware for STM32U5 MCU?

Hi ST Team,I am using STM32U575 MCU. I want to create signed binary. I want to upload signed firmware in MCU and also update only new signed firmware via Native bootloader and want to restrict unknown firmware updates.How can I create signed firmware...

vijay_03 by Associate II
  • 3017 Views
  • 2 replies
  • 0 kudos

Resolved! STM32U5 RDP regression without JTAG/SWD

Hello ST Community,There was a thread by Aurelien about this topic, but I did not understand the answer. So let me rephrase the question with my own words.I have a STM32U5 based device with high security settings (TZEN=1, RDP=2). Is there any other m...

ELuca.2 by Associate II
  • 1539 Views
  • 3 replies
  • 0 kudos