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! 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
  • 3403 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
  • 723 Views
  • 1 replies
  • 0 kudos

ST33TPHF2XI2C How to access TPM's GPIOs?

Hi, I am working on integrating the TPM ST33TPHF2XI2C into our platforms and we noticed that there are two GPIOs in the TPM chip. The datasheet says the following:  The GPIO function could be modified by activating GPIOs mapped on the NV storage inde...

aaflores by Associate
  • 535 Views
  • 1 replies
  • 0 kudos

Resolved! Cryptolibrary 4.x.x (cmox) RSA preallocated buffer

How do you know how big the preallocated static buffer should be when calling cmox_rsa_construct?Does this depend on the RSA key size that will be used?Does this depend on the Modular Exponentiation function that is selected (LOWMEM, MIDMEM, HIGHMEM)...

lieron by Associate
  • 1159 Views
  • 1 replies
  • 0 kudos

Resolved! Cypher using AES 128 CTR

Hi,Im trying to encryp using AES 128 CTR but i dont get the same result that online calculators.Im using this online calculator: https://cryptii.com/pipes/aes-encryptionMy code is the next:uint8_t IVKey[] = {0xDD, 0xF9, 0x11, 0xA6, 0xDD, 0xF9, 0x11, ...

Dosan by Associate III
  • 5730 Views
  • 11 replies
  • 2 kudos

STM32WB linker file

I'm having issues with a project based on an STM32WB5MM where some devices fail to operate BLE (like advertising, for example). The project integrates SBSFU and BLE_ota. I'm reviewing the linker files and I see differences in the management of the BL...

TFM / CubeMX integration and debugging

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
  • 696 Views
  • 0 replies
  • 0 kudos