STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

sha1_alt.c (mbedTLS implementation) bug?

I have a file from ST, not sure where it comes from but the header has:sha1_alt.c for SHA1 HASHCopyright (c) 2017, STMicroelectronicsI am getting issues with the function that call HAL_HASH_SHA1_Accumulate function.They are no checking for size/len i...

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
  • 637 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
  • 545 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
  • 491 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
  • 626 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