STM32 MCUs Security

Ask questions and find answers on STM32 security frameworks and tools, including cryptographic libraries, TrustZone, and the Secure Manager.

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
  • 1013 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
  • 1410 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
  • 782 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 Super User
  • 671 Views
  • 2 replies
  • 1 kudos

How to append a CRC footer to .hex/bin file with STMCubeIDE ?

Hi all,I am writing an application on STMCubeIDE and i need to append the its CRC at the end of the generated hex/bin file. Is there any shortcut or functionality in order to do that on STMCubeIDE? And if not, how would you suggest me to do that? Tha...

AGaru by Associate III
  • 404 Views
  • 0 replies
  • 0 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
  • 622 Views
  • 2 replies
  • 0 kudos