STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

SHA256 computation hangs on STM32L562 discovery board.

Hi, I hope the day is going well for everyone.We've been working to validate SHA256 computations on the HASH unit of the board named in the question. In the process we have noted what appears to be a reproducible problem with the unit.In short it ap...

GWett.1 by Associate II
  • 824 Views
  • 2 replies
  • 0 kudos

STM32H753 Flash CRC specification

Hi,The CRC function of the flash module in the STM32H753 is documented as using the polynomial 0x04c11DB7. If I use this module to calculate a CRC over 128 bytes all set to zero I get a non-zero answer (0x11e66c62) so it must also be using an initia...

NPato by Associate III
  • 1365 Views
  • 5 replies
  • 0 kudos

RDP & Bootloader: Cannot be used together?

I have an STM32F405 (which has no PCROP). I want RDP Level 1, but also want to re-flash firmware updates using the bootloader (and the DeFuse utility). With RDP Level 0: everything works: I can reflash firmware updates, no problem.But when optio...

Goof Ball by Associate III
  • 2320 Views
  • 10 replies
  • 0 kudos

Resolved! RDP for STM32H743

Is it possible to set level 2 RDP to just a subset of a certain Flash bank? not the entire bank. (Begin Address -> End Address for example)Is it possible to set RDP levels for an external flash not the internal MCU flash?

deckhard by Associate III
  • 643 Views
  • 1 replies
  • 2 kudos

CRC computation

Hi all,I am sending a message via USART from STM32F303 (later to be moved from STM32F3 to STM32F427) to an X86.The message consists of 2 parts payload + crc ,CRC is calculated on stm32 using crc hardware engine and calling CRC_CalcCRC/CRC_CalcCRC16bi...

Madhan by Associate II
  • 692 Views
  • 1 replies
  • 0 kudos

STM32L476RC microSD mmc FATFS problem

I've strange problems with my custom board with microSD card:The same code doesn't work if I run debug build and works well if I flash the realise. It gives error CRC. And the error is the same if I remove the card. It looks like that response did no...

SLesh.1 by Associate III
  • 656 Views
  • 1 replies
  • 0 kudos

STM32 Cryptographic Library Stack size

Hello Experts,​I am trying to integrate the "STM32 Cryptographic Library" to my application. The library name is "libSTM32CryptographicV3.1.3_CM4_GCC_ot_fpu.a".​How big is the stack size used by this library?When I used the library, RTOS got a hard f...

Tyama.1 by Associate
  • 464 Views
  • 2 replies
  • 0 kudos

STM32 Crypto Library - Wrong ED25519 Signature?

I am trying to sign and verify messages with the STM32 CryptoLibrary and the ED25519 signing functionality.But the created signature is not the same as the created ED25519 signature created with the CryptoPP library.My code for generating a signature...

MMax.1 by Associate
  • 452 Views
  • 0 replies
  • 0 kudos

SBSFU failure during verifying FW SIGNATURE

Hi,I could successfully integrate the SBSFU feature to our application. everything goes well until I get a failure after swapping the images.FW signature is not getting verified and function SE_SP_SMUGGLE is returning SE_ERROR which is causing the er...

ANaga.2 by Associate II
  • 477 Views
  • 2 replies
  • 0 kudos