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

AES ECB initialization fails

Hi,I'm trying to encrypt and decrypt in my device, running on a STM32H753, using AES ECB.I'm initializing crypto like this:  hcryp.Instance = CRYP; hcryp.Init.DataType = CRYP_DATATYPE_8B; hcryp.Init.KeySize = CRYP_KEYSIZE_256B; hcryp.Init...

TVare.1 by Associate III
  • 2288 Views
  • 5 replies
  • 5 kudos

Resolved! secure firmware update using USART

Hi everyone,I'm working in a Medical devices company and we use currently plenty of STM32s (F0,F1,F4, maybe soon H7). Until now, we didn't bother that much the cybersecurity topic for the firmwares but now the norms are forcing us :D.I checked a bit ...

TKopp.67 by Associate II
  • 2244 Views
  • 2 replies
  • 0 kudos

Resolved! How to enable the STM32H750VBT6 HW crypto?

I've tried to enable the CRYPT and HASH peripherals by setting bits 5 and 4 in the AHB2ENR register, but all peripheral registers read as zero and writes are ignored as if the clock wasn't enabled or the peripheral was missing. Does this chip have ha...

JBram.1 by Associate II
  • 6396 Views
  • 14 replies
  • 0 kudos

Resolved! Decoder of ASN.1 format to read RSA public key

Hello, I am using the STM32 Cryptolib. I need to get the modulus and exponent of RSA public key from a .pub or .pem files. After decoded from base64 I need to decode the DER format (in ASN.1 format). Has anyone any suggestion of which libray may I us...

lukin by Associate III
  • 4042 Views
  • 9 replies
  • 1 kudos

Resolved! Tamper: not able to update into the seed registers

Hi all,I'm trying to implement Active Tamper in STM32U585 controller, im trying to generate the SEED, the Seed is getting generated, but the SEED is not getting updated in the SEED reg of tamper, i'm attaching the code and seed values generated for r...

meghasb_0-1700136839457.png meghasb_1-1700136874433.png meghasb_2-1700137019153.png
meghasb by Senior
  • 1620 Views
  • 3 replies
  • 0 kudos

Resolved! cannot launch UserAPP after SBSFU

Hi, I am a beginner in SBSFU.STM32L4S7ZIT6STM32CUBEIDE Version: 1.12.0STM32CUBEProgrammer v 2.13.0 (for download SBSFU and full chip erase)Tera Term v 4.106When run SBSFU, I can get EXECUTE USER FIRMWARE at end, but cannot run UserAPP.if reset SBSFU,...

alyssa_0-1699955016076.png alyssa_3-1699956507644.png alyssa_4-1699957019484.png alyssa_2-1699956302724.png
alyssa by Associate III
  • 1275 Views
  • 2 replies
  • 0 kudos