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! 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
  • 1229 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
  • 798 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
  • 1115 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
  • 325 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
  • 1087 Views
  • 1 replies
  • 2 kudos

PKA fails after pairing and lock

This is a follow up to this post:https://community.st.com/t5/stm32-mcus-wireless/conflict-betwenn-pka-and-ble-after-pairing/m-p/76599?search-action-id=65799734948&search-result-uid=76599So if I understand correctly , After CPU2 BLE stack finished wor...

DS.4 by Senior II
  • 913 Views
  • 0 replies
  • 0 kudos

Resolved! Are there any working examples using the CRC for MODBUS RTU? I cannot get a reasonable result out if the CRC device on the STM32L443

According to Wikipedia The MODBUS uses the CRC-16-ANSI also known as CRC-16-IBM. ​The normal hexadecimal algebraic polynomial being 8005 and reversed A001Initial value: 65,535.​Example of frame in hexadecimal: 01 04 02 FF FF B8 80(CRC-16-ANSI calcul...

KiptonM by Lead
  • 18163 Views
  • 8 replies
  • 0 kudos

Nucleo-H563ZI Debug Authentication Regression fails

Hi everyone,I tried Secure Firmware Install (SFI) with the Nucleo-H563ZI. The process failed, however my device is still accessible. By connecting to the device via Hot plug and Access port 1 I am able to see that the device is in "Provisioning" stat...

jho by Associate II
  • 706 Views
  • 8 replies
  • 0 kudos

SFI failure after factory reset on STM32U585 (Rev W)

Hi,I have a STM32u585 where SFI worked on first attempt. Then I did a factory reset , post that I am not able to get SFi working again at all. Is there a residual / stale state I need to clear to be able to do SFI again?We do not have any OEM Keys se...

abhkr24 by Associate
  • 458 Views
  • 0 replies
  • 0 kudos