STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Asymmetric Cryptography in STM

Hello,I’m working on a project using the STM32WLxx MCU and need guidance on implementing asymmetric cryptography (encryption, decryption, and key management). The MCU supports AES for symmetric encryption, but I’m looking for a solution for asymmetri...

Anubrata by Associate
  • 207 Views
  • 1 replies
  • 2 kudos

Resolved! SBSFU STM32l476

Hi,I am working on SBSFU with stm32L476 Nucleo Board I am following the steps of Tutorial Security Part6 - STM32 security ecosystem - 02 Building the SBSFUI have Download Stm32CubeExpansion_SBFU_V2.6 but which is the highlighted directory are missing...

Prakash_Raj1994_1-1734591463772.png

Resolved! is RDP LEVEL 1  Enough?

hiplease only ST Employee answer this questioni use  this code for enable RDP LEVEL 1  for STM32H743 and STM32F407Can this code alone protect the program in the flash from any type of attack to read the program in the microcontroller?Will it be possi...

Natali by Associate III
  • 436 Views
  • 3 replies
  • 3 kudos

Resolved! STM32H7B0VBT6 External Loader

I am using the STM32H7B0VBT6 microcontroller, which has limited internal flash memory. To implement Secure Boot and Secure Firmware Update (SBSFU), I have connected an external W25Q256JVIQ flash memory to the MCU via Quad SPI.   Is it possible to sto...

STM32L5 J-Flash RDP Level 2 using

Hello,I am trying to use below file to enable RDP 2 on an STM32 L552 controller.wiki.segger.com/images/7/78/STM32L5_Lock.jflash This has exit step "ExitStep21_Action" that set the DRP Level 1, However, I need to set RDP Level 2 by setting the value a...

Unprotect Flash to write a new Bootloader

I'm using a STM32F103RCT6Flash contains my own boot loader in pages 0 thru 10 and main application in 11 thru 61.When the device is flashed in manufacturing, protection is set to prevent reading and writing via the jtag port.I need to update the boot...

Joe.H by Senior
  • 366 Views
  • 1 replies
  • 0 kudos

HAL_CRYPEx_AES() maximum number of output bytes?

I am using an STM32L4S9ZIJX part and attempting to encrypt a 256KB buffer (actually 262,144 - 16 = 262,128 bytes) using AES256 CTR mode in polling mode.I created a wrapper function to perform the encryption: int encrypt_CTR_mode(uint8_t* key, uint8_t...

dsorber by Associate
  • 234 Views
  • 2 replies
  • 0 kudos

X-CUBE-CRYPTOLIB cmox_eddsa_verify memory fail

Hi everyone!In our project for stm32f446, we are trying to use X-CUBE-CRYPTOLIB to verify the firmware signature on the device using ED25519. Unfortunately, when trying to call the cmox_eddsa_verify method, we get the CMOX_ECC_ERR_MEMORY_FAIL error. ...

AKole.3 by Associate
  • 941 Views
  • 6 replies
  • 1 kudos