STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

STM32F412 CRC32 uint8_t array as input.

Hi,I have (for example) a byte array with the size of 6. Now I want to calculate its crc32 value. The first 4 bytes are no problem - I put them in as word, but what about the last 2 bytes?Thanks for the Help in advance.BRNico

NKorn.12 by Associate II
  • 926 Views
  • 2 replies
  • 0 kudos

Resolved! Secured boot with a secured & non-secured application

Hello,I now understand that I should have asked the question differently.Let's say we have 2 applications: secured and non-secured application.The secured is placed in inetrnal flash, just as done in the demo of SBSFU,But the non secured should be pl...

ranran by Senior II
  • 1297 Views
  • 9 replies
  • 0 kudos

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
  • 707 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
  • 603 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
  • 557 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
  • 708 Views
  • 4 replies
  • 0 kudos