Skip to main content
vchau.2
Associate III
Feb 19, 2023 6:01 AM UTC
Question

AES encryption in STM32F407VT06

Hi All,

Did Someone use AES encryption/Decryption in STM32F407?, because I'm using existing example of AES encryption and its not working on my board, EN bit isn't enableing.

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
Feb 19, 2023 8:26 AM UTC

The F407 doesn't provide HW CRYPT/HASH, you'd need F417

Need to do in SW​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
vchau.2
vchau.2Author
Associate III
Feb 19, 2023 11:10 AM UTC

Sorry, Its STM32F417, by mistake I write STM32F407

Tesla DeLorean
Guru
Feb 19, 2023 12:46 PM UTC

Seem to recall the occasional batch where it was disabled.

Need​s the USB/CRYPT/SDIO 48 MHz PLL to be running.

Should be a couple of SPL or HAL examples demonstrating it working.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Piranha
Principal III
Feb 19, 2023 12:55 PM UTC

> STM32F407VT06

And that's not the only mistake there...

When the registers do not change, typically the peripheral clock is not enabled.