Skip to main content
SJosh.9
Associate
May 20, 2022
Solved

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

  • May 20, 2022
  • 3 replies
  • 1439 views

please share with example​

This topic has been closed for replies.
Best answer by Bubbles

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

3 replies

Bubbles
BubblesBest answer
ST Employee
May 20, 2022

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.
Tesla DeLorean
Guru
May 20, 2022

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Piranha
Principal III
May 20, 2022

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