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! Provisioning via CANFD bootloader and RSS.

Hello!I am trying to provision a DA certificate on STM32H563 through CANFD Bootloader in system memory.I am calling special function 0x83 as described in AN2606 and AN5405. As I can understand, this is an RSSLIB_PFUNC->DataProvisioning.I am filling t...

Konstantin_Z_0-1759154993511.png

same-bank exitSecureArea details on h755

Hello,I have two applications: one at 0x08000000 and one at 0x08080000. Both run fine individually (when setting the boot config bytes to the fitting offset). Now I want to use the one at 0x08000000 as secure area and escape it by using exitSecureAre...

smnhff by Associate II
  • 1554 Views
  • 7 replies
  • 2 kudos

AES GCM STM32U545

Post edited by ST moderator to be inline with the community rules especially with the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code Hello,I am trying to use AES GCM on the STM32U...

AK2 by Associate
  • 546 Views
  • 0 replies
  • 0 kudos

How to porting TFM to stm32u545 in Zephyr application?

Hi, I’m working on porting TF-M to a custom hardware platform based on the STM32U545 running Zephyr. As a starting point, I copied the existing b_u585_iot02a platform and adjusted it for the STM32U545’s 512 KB Flash. However, I haven’t been able to g...

Lezhi by Associate II
  • 689 Views
  • 0 replies
  • 0 kudos

X-CUBE-CRYPTOLIB cmox_eddsa_verify memory fail

Hi everyone!In our project for stm32f446, we are trying to use X-CUBE-CRYPTOLIB to verify the firmware signature on the device using ED25519. Unfortunately, when trying to call the cmox_eddsa_verify method, we get the CMOX_ECC_ERR_MEMORY_FAIL error. ...

AKole.3 by Associate
  • 1729 Views
  • 7 replies
  • 1 kudos

STM32H7Sx - Use HDPL_x DHUK within HDPL_y where x > y

Dear,Is it possible for execution within HDPL_x to use SAES (Secure AES) with a DHUK (Derived Hardware Unique Key) from HDPL_y where x > y?For example:Execution within HDPL2 makes use of SAES to encrypt plaintext p using its DHUK, this results in cip...

Eliasvan by Associate III
  • 524 Views
  • 0 replies
  • 0 kudos

Flash Firmware with UID

Hello Firends,Two Questions...1. Firmware Flash with DFU Bootloader succesfully done along with RDP bit. Can we re-flash the fiirmware once RDP L1 is set before through DFU using USB ? my custom board uses STM32F303Rb device. 2. Each STM32 device has...

bsuthar by Associate III
  • 1285 Views
  • 9 replies
  • 0 kudos