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! Can x-cube-sbsfu use hardware decryption?

I'm using H753 which has hw crypto, and was hoping to improve the sbsfu execution time (e.g. time to validate FW header at start tup) by enabling hw crypto. However HAL_CRYP_MODULE_ENABLED doesn't do anything. I looked through the integration guide a...

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

Encryption using AES CCM + MIC - stm32wb

Hi,i am trying to develop a device which sends out bthome advertisements via ble (some sensor data).So far so good, this part is working, but now i would also like to use bthome encryption.https://bthome.io/encryption/So following this guide, i would...

Exeu by Associate III
  • 1283 Views
  • 0 replies
  • 0 kudos

Restart HSM (STM32HSM-V2AE)

Hello,I am following the guide to generate SFI files. I am testing and have programmed the HSM. Is there any way to "restart" the HSM? Is there any way to start the guide over as if I hadn't done anything?I am particularly interested in obtaining inf...

Sin título.png
mikel-m by Associate III
  • 723 Views
  • 1 replies
  • 0 kudos

STM32U5 TFM mbedCrypto ECDSA(PSA API)

hi i am implementing a TFM based project on stm32u585 microcontroller. i taken reference from the cubeU5 package to implement the TFM code stm32U585 SBSFU  .in my application i need to use the ECDSA signing and verification using the PSA APIs availab...

sabari1_0-1715335327575.png sabari1_1-1715335390727.png sabari1_2-1715335552924.png sabari1_0-1715592513404.png
sabari1 by Associate III
  • 1672 Views
  • 2 replies
  • 2 kudos

Resolved! Firmware with SBSFU bootloader with SFI at manufacturing

Hi,I am doing feasibility on SBSFU bootloader on STM32H753ZI. Currently in our firmware we are planning to have a custom bootloader based on SBSFU for secure boot and update. But I came across SFI feature from ST to ensure protection at the manufactu...

h_adi by Associate
  • 1225 Views
  • 1 replies
  • 0 kudos

ECDH fails for CURVE25519 using X-CUBE-CRYPTOLIB

I can't get ECDH working for CURVE25519 using the STM32 HAL / crypto lib. This may be an issue with the somewhat confusing constants for this library. I can get the NIST curves working with ECDH. The trouble I have is it seems there are two cmox_ecc_...

antfarmer by Associate III
  • 1279 Views
  • 2 replies
  • 0 kudos