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

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
  • 1116 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
  • 1031 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
  • 763 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
  • 1116 Views
  • 2 replies
  • 0 kudos

STM32 RDP2 prevents the modification of OPTLOCK?

Hi everyone,we have a bootloader that writes new application code to the flash bank 2 in an STM32H7 and afterwards swaps the banks to execute the new code. The procedure for swapping is something like this:   unlock OPTLOCK   set SWAP_BANK_OPT   set ...

ppj by Associate
  • 896 Views
  • 2 replies
  • 0 kudos