Skip to main content
Associate II
April 25, 2026
Solved

Integration of xcube Cryptolib for STM32F303RE

  • April 25, 2026
  • 2 replies
  • 193 views

I am trying to integrate Crypto lib to NUCLEOF303RE Board, Any guide or any suggestions would help 

Best answer by KDJEM.1

Hello @hegde_08 ,

 

Which toolchain are you using?

I recommend you to look at these articles:

How to add external libraries in STM32CubeIDE - STMicroelectronics Community

How to add external libraries in Keil® MDK-ARM: An example using X-CUBE-CRYPTOLIB... - STMicroelectronics Community.

The main objective of these articles is to describe the steps for integrating an external library like as X-CUBE-CRYPTOLIB.

 

Thank you.

Kaouthar

2 replies

KDJEM.1
KDJEM.1Best answer
ST Technical Moderator
April 29, 2026

Hello @hegde_08 ,

 

Which toolchain are you using?

I recommend you to look at these articles:

How to add external libraries in STM32CubeIDE - STMicroelectronics Community

How to add external libraries in Keil® MDK-ARM: An example using X-CUBE-CRYPTOLIB... - STMicroelectronics Community.

The main objective of these articles is to describe the steps for integrating an external library like as X-CUBE-CRYPTOLIB.

 

Thank you.

Kaouthar

To give better visibility on the answered topics, please click on "Best answer" on the reply which solved your issue or answered your question.
mƎALLEm
ST Technical Moderator
April 29, 2026

In addition to what @KDJEM.1 said and the article provided (treating a product having Cortex-M3),  STM32F303 MCU has Cortex-M4 so you need to use the cryptographic library related to Cortex-M4 which is libSTM32Cryptographic_CM4.a.

To give better visibility on the answered topics, please click "Best answer" on the reply which solved your issue or answered your question.