STM32F4 [X-CUBE-CRYPTOLIB] - Cryptography Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-03 11:08 PM
Hello,
I am using the Nucleo-STM32F411RE development board and require support for cryptographic functions, particularly ECC NIST P-256, MAC, etc, for my development use cases.
To achieve this, I downloaded the X-CUBE-CRYPTOLIB v4.3.0 package as it was mentioned in the product brief. However, I could not find any example projects specifically for the STM32F4 series.
I also attempted to modify examples from other STM32 series, but I encountered faults and was unable to successfully run the code.
Could anyone provide a working example for the STM32F4 series, or share a step-by-step user guide? As I am new to STM32 MCU boards, this has been quite time-consuming, and any guidance would be greatly appreciated.
Thank you for your help!
Best regards,
Akash M
Solved! Go to Solution.
- Labels:
-
ST boards
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-04 12:25 AM
Hello @Akash_M ,
The ECC example for the Nucleo-L476RG board can be a good starting point for you.
The STM32 cryptographic library package includes firmware functions for the STM32 microcontrollers (also in the STM32F4 series). So, you can adapt the examples from the Nucleo-L476RG to your Nucleo-F411 board.
This ST wiki article may help you: Security:Getting started with the Cryptographic Library - stm32mcu.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-04 12:25 AM
Hello @Akash_M ,
The ECC example for the Nucleo-L476RG board can be a good starting point for you.
The STM32 cryptographic library package includes firmware functions for the STM32 microcontrollers (also in the STM32F4 series). So, you can adapt the examples from the Nucleo-L476RG to your Nucleo-F411 board.
This ST wiki article may help you: Security:Getting started with the Cryptographic Library - stm32mcu.
Thanks
Imen
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-04 3:36 AM
Hello @Imen.D ,
Thanks for the guide!!
Will try out and get back with the results.
Best Regards,
Akash
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2025-02-05 11:37 PM
