cancel
Showing results for 
Search instead for 
Did you mean: 

Can I use Software Cryptographic Library for STM32H743?

Hi. I got Cryptographic Library from ST. I added M4_CryptoFW_2_0_6.a to my project and tried calculate SHA256. But got hardfault when call SHA256_Finish function. Hardfault message is " A precise data access error has occurred (CFSR.PRECISERR, BFAR) at data address 0x40023008". I found that this address is CRC_CR register for STM32F4 series.

Crypto lib last release:

  • M4_CryptoHW_2_0_6.a: First official release of optimized STM32 Cryptographic Libraryfor STM32F41x famillies.
  • M4_CryptoFW_RngHW_2_0_6.a: First official release of STM32 Cryptographic Library Firmware version with Hardware RNG pheripheral for STM32F4xx famillies.
  • M4_CryptoFW_2_0_6.a: First official release of STM32 Cryptographic Library Firmware version for STM32F40x famillies.
  • M3_CryptoHW_2_0_6.a: New official release of optimized STM32 Cryptographic Libraryfor STM32F21x famillies.
  • M3_CryptoFW_RngHW_2_0_6.a:  First official release of STM32 Cryptographic Library Firmware version with Hardware RNG pheripheral for STM32F20x famillies.
  • M3_CryptoFW_2_0_6.a: New STM32 Cryptographic Library Firmware version release for STM32F10x and STM32F3xx.
  • M3_CryptoFW_L1xx_2_0_6.a: New STM32 Cryptographic Library Firmware version release for STM32L1xx famillies.
  • M0_CryptoFW_2_0_6.a: First STM32 Cryptographic Library Firmware version release for STM32F0xx famillies.

So, Is it real to use this soft crypto lib for STM32H743?

1 REPLY 1

ST ties the library to STM32 parts by testing the CRC generator is present. I think one would need to patch that or push for an F7 and H7 variant of the library. ​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..