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

Issue with AES and CKS

In my application, I have a sequence which looks something like this:Load an AES key from CKS using SHCI_C2_FUS_LoadUsrKeyCall HAL_Cryp_Init, HAL_Cryp_Decrypt, and HAL_Cryp_DeInit to decrypt a block of dataUnload the key from CKS using SHCI_C2_FUS_Un...

crwper by Senior
  • 1482 Views
  • 6 replies
  • 0 kudos

RSA support for X509 utilities

Hi,I'm using some STM32 drivers code to parse X509 certificates. These drivers are based on ECC cryptography. I need to change to RSA. I need utilities such as parseCert()isValidCert()isParent()which exist for ECC, but I cannot find any equivalents f...

FOCal.1 by Associate
  • 1002 Views
  • 1 replies
  • 0 kudos

Enquiry on STM32G4

Looking for the MCU specs with the following key requirements:              - 24 IO : 8 input, 8 outpt, 8 x LEDs              - secure boot features              - hardware reset - backline support – CAN Bus communication at 5VCan STM32G...

STLearner by Associate III
  • 696 Views
  • 1 replies
  • 0 kudos

How to program stm32L552 using SWD interface

I use my own application to program different devices, arm in particular. Now, i'd like to support stm32L552. So, if TZEN = 0 it works fine. if TZEN = 1, DBANK = 1, SECWM1_PSTRT - set as secure, SECWM2_PSTRT - set as non-secure, RDP = 0xaa (level 0) ...

Enabling SFU_MPU_PROTECT_ENABLE causes a problem

In my project the microcontroller is STM32F756VGT6, I changed the example "2_Images_OSC" of STM32f769I-Discovery to be compatible with this microcontroller.Right now everything seems O.K and I can upgrade the application with SBSFU. But when I uncom...

Catching and clearing BusFaults in STM32 H743

We are having issues with corrupted flash on the STM32 H7 series. The problem manifests where a read to the offending address in flash will cause a bus fault. We think it is down to bad CRC and the way to resolve is usually to wipe the flash and repr...

APipe.2 by Associate
  • 964 Views
  • 1 replies
  • 0 kudos

Resolved! How to enable debugging of SECoreBin application

Hi,I tried to execute my custom SBSFU_UserApp.bin on the STM32H7B3I-DK board and I get error for Header signature verification failure in slot SLOT_ACTIVE_1. I have made changes in se_crypto_bootloader.c file for adding RSA signing verification in pl...

Ikbal by Associate II
  • 3354 Views
  • 15 replies
  • 0 kudos

WRITE_REG macro not working

I'm currently trying to use the CRC peripheral on an STM32G474, and when running HAL_CRC_Calculate(), the computed checksum is always zero. Doing some debugging into the HAL_CRC_Init() function, I've found that when the WRITE_REG macro is called, no...

0693W00000WI9NhQAL.png 0693W00000WI9PEQA1.png
DPard.2 by Associate
  • 1102 Views
  • 1 replies
  • 0 kudos