cancel
Showing results for 
Search instead for 
Did you mean: 

how aes128 encryption can be done using stmcube ide for stm32l476 discovery board

SJosh.9
Associate II

please share with example​

1 ACCEPTED SOLUTION

Accepted Solutions
Bubbles
ST Employee

Hi @SJosh.9​ ,

the L476 doesn't have AES HW accelerator. You need to use Sw implementation. I recommend trying the mbed crypto library. (SSL Library mbed TLS / PolarSSL)

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

3 REPLIES 3
Bubbles
ST Employee

Hi @SJosh.9​ ,

the L476 doesn't have AES HW accelerator. You need to use Sw implementation. I recommend trying the mbed crypto library. (SSL Library mbed TLS / PolarSSL)

BR,

J

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

AES128 implemented in C should work on all platforms with a C compiler.

Find an implementation online you are comfortable with integrating yourself.

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

Also I can recommend BearSSL and uECC as a reliable, compact and simple cryptographic libraries for MCU devices.