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

Issue with SFBU and EEPROM Firmware Update

Hello,I'm currently working on a project that involves using the SFBU (Secure Firmware Bootloader Update) due to the limited flash size of the MCU. I've set up an external EEPROM to store the entire firmware before the update process.I've made necess...

NAndreadakis_0-1700570215656.png NAndreadakis_1-1700570474151.png

Resolved! Using derived hardware key (DHUK) with AES on stm32u5

I've been trying to set up the AES peripheral so that it's only using the hardware derived key from the SAES peripheral (without setting any clear text key). However, the only method mentioned in the reference manual on using the DHUK is through the ...

jptuser44_0-1701456000989.png

Resolved! STM32U5 SAES/AES shared key in Trustzone with HAL

Hello,I'm trying to use the SAES/AES shared key functionality in a Trustzone (TZEN=1, RDP = 0), using the functions provided by the HAL library. The board I use is the B-U585I-IOT02A.The only project example I found is with Trustzone disabled, but it...

ptrchv by Associate II
  • 2099 Views
  • 2 replies
  • 0 kudos

AES ECB initialization fails

Hi,I'm trying to encrypt and decrypt in my device, running on a STM32H753, using AES ECB.I'm initializing crypto like this:  hcryp.Instance = CRYP; hcryp.Init.DataType = CRYP_DATATYPE_8B; hcryp.Init.KeySize = CRYP_KEYSIZE_256B; hcryp.Init...

TVare.1 by Associate III
  • 2278 Views
  • 5 replies
  • 5 kudos