cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F4 [X-CUBE-CRYPTOLIB] - Cryptography Support

Akash_M
Visitor

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

1 REPLY 1
Imen.D
ST Employee

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.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen