STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

Resolved! CRC8 with HAL for Stm32 and Python

I am quite new with embedded programming. I must implement CRC8 with HAL and have tried to implement the CRC8 in python at the other end. Have used the crc8 library but both results don’t match. Is there anybody who could give me a hand to implement ...

RPG by Senior
  • 2163 Views
  • 10 replies
  • 0 kudos

Crypto lib - how to load .pem file? I have to use a public key provided to me in a .pem file to encrypt an array of bytes. What is the easiest way to compile or include the .pem file into STM32CubeIDE project as an array of bytes?

Also, the crypto functions require a key made up of an exponent and a modulus. The examples only show these as two separate arrays. How do I get from a single array I have hopefully included from the pem file into these two separate arrays? What is t...

SLevi.1 by Associate III
  • 699 Views
  • 2 replies
  • 0 kudos

CRYP issue when Timer is used as Timebase Source

Hi, I have nucleo-h753ZI and I want to use CRYP in a project that also uses FREERTOS. I set Timer 6 as Timebase Source (recommended due to FREERTOS) and as a result, program goes to HardFault every time I use HAL_CRYP_Encrypt function.HAL_CRYP_Decryp...

MattCZ by Associate
  • 635 Views
  • 4 replies
  • 0 kudos

Resolved! Where's the CRC and the size of the whole firmware application stored whenever a new application is flashed on to the System flash?

Does the controller perform a CRC confirmation check before running the application to check if the firmware is corrupted? If so, where does this happen; in the bootloader or the application itself? What does it do if the CRC turns out to be wrong? S...

Shivam by Associate II
  • 858 Views
  • 4 replies
  • 0 kudos

Resolved! How do I calculate the SPI CRC-16 in C?

How do I calculate the SPI CRC-16 in C? I have an STM32F429 sending me SPI data. These are the SPI settings:How do I implement a CRC-16 check implemented in C (not using STM32)?It is 16-bit data with LSB first. Polynomial X1+X3

0693W00000NrJmMQAV.png
MSipo by Senior II
  • 1936 Views
  • 5 replies
  • 1 kudos