STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F756 MD5 hash wrong result

I'm using the hardware hash processor of an STM32F756 to calculate the MD5 of string "user:realm:password", but the result is wrong. I'm using the HAL library, this is my code.static void AuthRespCalc(char * username, char *realm, char * password) { ...

MMarq by Associate
  • 579 Views
  • 2 replies
  • 0 kudos

Minimal demo of STM32H753 Secure Access mode

Dear experts,I'd like to try the Secure Access mode of H753, but overwhelmed by the SBSFU and SFI documentation.I'm thinking about a minimal test for the "secure user memory" - without SFI, Secure Package Creator etc., or as little as possible:Burn a...

Pavel A. by Evangelist III
  • 508 Views
  • 2 replies
  • 1 kudos

BUG: CubeMX 5.3.0 doesn't generate CRC.c for STM32G474

The compiler cannot find the function MX_CRC_Init()The reason is that STM32CubeMX 5.3.0 doesn't generate CRC.c for STM32G474 when the CRC module is enabled.The CRC.h header is correct generated.This happens only in the STM32CubeIDE with the integrate...

OGhis by Senior
  • 454 Views
  • 2 replies
  • 0 kudos

About STM32H7 SPI CRC length

Hello,I need to enable CRC on my SPI communications. My STM32H7 is the Master and it will send most of the times 4 bytes commands to the Slave. I have chosen DSIZE = 32 bits to speed up the processing, since the copy of data to the FIFO is done by so...

Gpeti by Senior II
  • 563 Views
  • 4 replies
  • 0 kudos

Optimizing X-CUBE-CRYPTOLIB for memory constraint

Hello!I want to use Asymmetric Crypto algorithms like ECC or RSA for my FreeRTOS project running on STM32F051K8. The controller has 64 KB of flash. Since X-CUBE-CRYPTOLIB occupies quite large memory footprint, my FLASH is getting overflowed by the .t...

0690X00000AQxHwQAL.png

Setup CRC via STM32CubeIDE 1.02

I am trying to set up the CRC in an STM32L072 to process data from a 1-wire device.In the CubeIDE (editing the .ioc file), if I leave the default values, it will generate an appropriate MX_CRC_Init(void) function.But if I want to set my own polynomia...