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

Activation of Readout protection from user application

Hi,I am trying to implement readout protection on my stm32f427VG. I want to apply Read protection Level 2 from the user application or bootloader code in the flash. My custom bootloader resides in flash at address 0x00000000.

ATewa by Associate
  • 374 Views
  • 0 replies
  • 0 kudos

Hardware Crypto support for mbedTLS on STM32F7

I found from this question, on May 2017,https://community.st.com/s/question/0D50X00009XkXqzSAF/why-mbedtls-which-is-part-of-stcube-116-release-does-not-contain-hw-acceleration-codethat hardware crypto support was in development for mbedTLS.When we wi...

Use of STM32L4 HAL_CRYP hardware in LORAWAN

I've tried to find an example code of use of crypto harware accelerator in LORAWAN but i haven't been able to find any . Does someone have an example expecially concerning the use of AES CMAC?Regards

JVida.18 by Associate II
  • 1173 Views
  • 3 replies
  • 1 kudos

STM32L1xxx Hardware CRC calculation

I am working on STM32L151QD MCU. I want to implement CRC feature in my application using STM hardware CRC block.i am trying below steps to configure HW CRC:uint32_t crc; uint32_t t_buffer[4] = {1,2,3,4};  RCC_AHBPeriphClockCmd(RCC_AHBPeriph_CRC, ENAB...

Rekha.k by Associate II
  • 982 Views
  • 2 replies
  • 0 kudos

Resolved! Implementing encryption on the STM3240G-EVAL board

I'm aware that the STM3240G-EVAL doesn't have a hardware crypto processor, but is it possible to create a software algorithm to do the encryption? Possibly using the X-CUBE-CRYPTOLIB library?

dk by Associate II
  • 900 Views
  • 4 replies
  • 0 kudos

STM32H7 Flash Bank CRC

I am trying to use the hardware CRC built into the embedded flash module. When I use the start and end addresses and kick off the CRC, the processor halts and I have to do a full flash erase to get it back. Are the start and end addresses relative ...

bpentz by Associate II
  • 662 Views
  • 1 replies
  • 1 kudos

Enable readout protection using system memory bootloader

I have been using the STM32 serial bootloader, instead of coding my own bootloader, for a while now. But lately I wanted to protect my code, so I tried to enable readout protection (RDP) level 1. This is meant to prevent the user to read the flash. H...

HMont.12 by Associate
  • 937 Views
  • 2 replies
  • 0 kudos