cancel
Showing results for 
Search instead for 
Did you mean: 

Crypto Library - Source Code

rojedagRH
Associate

Hello,

We want to use the STM Crypto Library " X-CUBE-CRYPTOLIB" for a project at our company. Since we will only be using a portion of it, the question arises whether it is possible to customize the static ".a" file ourselves (to make it smaller) or to provide a customized one from STM. The reason is that the memory on the microcontroller is very limited, so saving a few kilobytes would be very helpful.

We look forward to your feedback.


Kind regards,

Rojeda

2 REPLIES 2
Pavel A.
Super User

Which STM32 MCU do you have? And what crypto functionality do you use?

 

Generally in a well constructed library the linker will discard the objects it doesn't need for closure.

Yeah, ST's not going to furnish you with source.

With standard algorithms you can probably find existing source examples.

What MCU, with what capacity, running what algorithm?

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