STM32 MCUs Security

cancel
Showing results for 
Search instead for 
Did you mean: 

Forum Posts

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
  • 1475 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
  • 1120 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
  • 1392 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
  • 3272 Views
  • 5 replies
  • 1 kudos

Downloaded Image verification failed status

Do we have any mechanism to know about Software validation check status ??in case of reset, SBSFU will check for validity of application, before jumps to it. And in case of fail, it won't launch application, The failure status, how can we know ??Do w...

SPati.7 by Associate III
  • 2434 Views
  • 7 replies
  • 0 kudos