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! STM32 CRYPTOGRAPHIC FIRMWARE LIBRARY

Hello, I would like to install the stm32 cryptographic firmware library to use with the STM32F030K6Tx.I download the latest version of the library the 4.1.0 from https://www.st.com/en/embedded-software/x-cube-cryptolib.html.I followed the guide https...

LMalv.1 by Associate II
  • 2368 Views
  • 4 replies
  • 1 kudos

Resolved! Can't activate readout protection using option bytes

HiI try to activate readout protection using jlink/jflash.The read out protection is level 0 (0xaa on last bytes of option byte currently 0xDFFFE1AA), I want to set level 1, using 0x00 value instead of AA.After flashing my binary, lock and optlock pr...

GBout1 by Associate
  • 2484 Views
  • 3 replies
  • 0 kudos

Resolved! DIfference in results based on different AES mode

If I use AES mode CRYP_CR_ALGOMODE_AES_CBC, the decryptedText array does not match with the last 3 uint32_t values in the array. Same goes with ECB mode. However, when GCM or CCM modes are used, the decrypted data is same as the plain text. I could n...

abtom87 by Associate II
  • 2716 Views
  • 9 replies
  • 3 kudos

SBSFU Warray-bounds error when compiling data_init.c

We are updating our buildtools to GNU Tools for STM32 11.3.rel1 for a new project that is using an existing SBSFU 2.4.0 based bootloader from a previous project that was using an older compiler. Trying to compile the bootloader gives following errors...

sute by Associate III
  • 1736 Views
  • 3 replies
  • 0 kudos

Flash bricked after RDP changes on several STM32G0

Currently developing a product to update the firmware of a product through SWD, i encounter an issue with the flash of the target (STM32G070RB).After multiple changes in the RPD (from 0->1 & 1->0) the flash of the MCU can't be erased. Some word will ...

0693W000007ElEaQAK.png
rcard by Associate II
  • 3751 Views
  • 8 replies
  • 1 kudos