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

STM32 AES GCM Tag mismatch

Hi,I am trying to send encrypted data between a C# application and STM32 in AES GCM mode.Currently, I am only doing encryption of a known test vector.Key and IV are both all zeros.AAD length is 0.My testvector is: 00 00 00 00 00 01 00 00 00 00 00 00 ...

Dimlite by Associate III
  • 37 Views
  • 0 replies
  • 0 kudos

Not able to parse rsa public key using mbedtls

I am using mbedtls module to verify the signature of firmware using RSA and its giving MBEDTLS_ERR_PK_INVALID_PUBKEY after parsing the public key. I am using OpenSSL for generating public and private keys the public key is generated using openssl gen...

Advait by Associate III
  • 136 Views
  • 5 replies
  • 0 kudos

Secure boot resources

HelloDo I unterstand correctly that the recommended secure boot option for STM32L4 is SBSFU?It seems that the only resource on how to get started with examples is the playlist on YouTube where a non signed exe from google drive has to be installed.Is...

MC.5 by Associate II
  • 33 Views
  • 0 replies
  • 0 kudos

SHA-256 calculation of data on STM32L562 MCU

Post edited by ST moderator to be inline with the community rules especially with the code sharing. In next time please use </> button to paste your code. Please read this post: How to insert source code Hello, I need to calculate SHA-256 on STM32L56...

Resolved! Recovering STM32U3 from RDP2 level to RDP1 level

Hi team, I provisioned both OEM1 and OEM2 keys. I locked the device using OEM2 key and then put the device in RDP level 2 with the below commands:STM32_Programmer_CLI.exe -c port=SWD mode=hotplug -lockRDP2 0xFEDCBA98 0x76543210Response: "Lock RDP2 pa...

deva2k by Associate
  • 124 Views
  • 3 replies
  • 2 kudos

Does Stm32l496zgt6 have AES hardware

Hi,I'm working on STM32L496 for some security application, as per L4 series documents I see that L4 series controllers has AES hardware, but in my IOC settings under security option I don't see the AES. Why is this? does it mean STM32L496 doesn't hav...

ML2020 by Associate
  • 1702 Views
  • 4 replies
  • 2 kudos

Custom bootloader in SBSFU in STM32H753

Hi Team,  I am trying to add a Secondary/custom bootloader in SBSFU. But not able to figure it out how to do it. I changed memory for active slot area and used the same area for custom bootloader in both linker file of both SBSFU and custom bootloade...