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

STM32H5 - X-CUBE-SEC-M-H5_V2.0.0 - CubeMX

Hi Everybody,I posted a comment here https://community.st.com/t5/stm32-online-courses/stm32h5-secure-manager-course/bc-p/824487/highlight/true#M27 yesterday because I am trying following the online course and what is written in the wiki to start deve...

andyi by Associate II
  • 566 Views
  • 5 replies
  • 0 kudos

Resolved! STM32WBA63CUI7 OEM ROT Porting Help

 I'm porting OEM ROT examples from STM32WBA65I-DK1 to STM32WBA63CUI7 and need guidance.Devices:- Target: STM32WBA63CUI7 (2MB flash, CSP17)- Source: STM32WBA65I-DK1 (2MB flash, UFBGA169)Questions:1. Device Support: Any known STM32WBA63xx definition ga...

nomancy by Associate
  • 265 Views
  • 1 replies
  • 0 kudos

Resolved! OTA Secure Update using ESP32

Hello everyone,I would like to update the STM32 remotely using ESP32. So the Idea is to transfer the signed image via Bluetooth and to store it firstly on the esp32, which will transfer it in the end via UART to the STM32.After that the secure boot o...

STM32H7S7 Encrypt/DeCrypt Issue with Shared Key

I'm trying to understand an issue I am having with chaining decryption, using the shared key out of the SAES and have distilled the problem to the following example:I am attempting to encrypt and decrypt large blocks of data (65536 bytes). I can encr...

jgroff by Associate
  • 1001 Views
  • 0 replies
  • 0 kudos

STM32U0: question about RDP regression

Hello,I'm not sure if I understand the RDP regression mechanism described on STM32U0 reference manual (RM0503 rev4) correctly. My general understanding is that it's possible to go from RDP2 => RDP1 => RDP0 if the OEM keys are set - if they are not se...

RAltm_0-1755080857153.png
RAltm by Senior
  • 559 Views
  • 2 replies
  • 1 kudos

STM32 cryptolib issue.

Hi guys i am trying to use stm32cryptolib library's encryption function. the main problem i am facing when i am trying to call the  cmox_initialize function it is giving the error cmox_init.c:(.text+0x1a): undefined reference to `cmox_ll_init'collect...

SwastiK by Associate
  • 735 Views
  • 6 replies
  • 0 kudos

HMAC_SHA_125 issue

We are here trying to achieve the HMAC-SHA-125 generation.we are using the cryptolib-4.3.5 . the implementation is in PNG file( only the main and hmac computation is shown)we are not getting any compilation error but we are getting ERROR as program o...

SwastiK by Associate
  • 157 Views
  • 1 replies
  • 0 kudos

Resolved! STM32H503 DWT problem with PRODUCT STATE == 72

Friends, hello, I encountered a problem with starting DWT with PRODUСT STATE = 72;I measure the time between pulses (white beam of the logic analyzer) by the EXTI5 interrupt input (falling edge of the signal), TIME_LONG_SENS = DWT->CYCCNT / (SystemCo...

Mike1992_0-1753806135140.png Mike1992_1-1753806184171.png
Mike1992 by Associate III
  • 868 Views
  • 1 replies
  • 2 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 II
  • 515 Views
  • 3 replies
  • 0 kudos