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

(Q) AES Burst (over TIMER?) DMA STML0(82) understanding

Hello all, When I had a beautiful STM32U5 in hand the world was still good.But now I have a comprehension question about the STM32L0, I have an 8-bit buffer and now the fastest way to AES decrypt/encrypt this data is via DMA with active burst mode. T...

MLe.2 by Associate
  • 1159 Views
  • 0 replies
  • 0 kudos

How to calc CRC16 for Modbus?

My controller is STM32L462. I need to compute CRC16 for Modbus application. There is CRC initialization function:void MX_CRC_Init_CRC16(void) { hcrc.Instance = CRC; hcrc.Init.DefaultPolynomialUse = DEFAULT_POLYNOMIAL_DISABLE; hcrc.Init.DefaultI...

sdianoff by Associate II
  • 4586 Views
  • 2 replies
  • 0 kudos

Resolved! core locked up and read out fails

Hi,My STM32H735G-DK is having issues.When I try to flash a known good firmware, I get the following:command: STM32_Programmer_CLI -c port=SWD freq=4000 mode=UR --erase all -d build/stm32h735.bin 0x08000000 -v --start 0x08000000-----------------------...

Arno1 by Senior
  • 4997 Views
  • 6 replies
  • 2 kudos

Setting AES128-CMAC and STM32G0 on CubeIde

Hi,Im looking for encryp using internal AES peripheral that the STM32G0 has.I need touse "AES128-CMAC" but i dont found the option in HAL libraries to set "hcryp.Init.Algorithm=XXX" and "defgroup CRYP_Algorithm_Mode CRYP Algorithm Mode" library optio...

Dosan by Associate III
  • 889 Views
  • 0 replies
  • 0 kudos

Custom header in SBSFU

Hello,  Is it possible to custom the header of a firmware for SBSFU ? I want to add 2 variables but it's not working. I have authentification failure. But I don't change the size and position in the structure because I used the "reserved" bytes. (the...

Esaab.1 by Associate
  • 916 Views
  • 0 replies
  • 0 kudos

Question on Trust Zone performances

Hi, I’m working on a STM32L552ZEQ.My goal is to generate a pair of RSA keys of 2048 bits using the Trust Zone.Before start using the Trust Zone, I wrote the code to generate the RSA key pair (of 2048 bits) without the Trust Zone, and the average time...