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

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
  • 619 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
  • 886 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
  • 752 Views
  • 2 replies
  • 0 kudos

STM32L arm based MCU - TRNG details

Hi, I am wondering if the build-in TRNG modules in the STM32L series (0, 1,2 ,4, 4+ and 5) are compliant with the NIST 800 90A/B/C standards. If so, where I can find information on ST stating such TRNG complies with this standards? We are developing ...

MBurg by Associate
  • 678 Views
  • 2 replies
  • 0 kudos

Cryptographic scheme selection

Could someone elaborate on the tradeoffs of cryptographic scheme selection, especially between Asymmetric with AES encryption and Symmetric (AES GCM) ?While it is the default choice, it is not clear to me why SECBOOT_ECCDSA_WITH_AES128_CBC_SHA256 wou...

JDesc by Associate
  • 605 Views
  • 1 replies
  • 0 kudos

Resolved! Unable to make HW AES work for STM32L476

I'm taking STM32Cube and the CRYP example for NUCLEO-L496ZG as the basis for a new HW AES encryption Arduino library. I'm currently developing for the STM32L476 MCU and here I found the first problem since stm32l476xx.h does not seem to include the n...

estratos by Associate
  • 1455 Views
  • 4 replies
  • 0 kudos