Skip to main content
MMart.9
Associate
Jul 15, 2019 12:29 PM UTC
Solved

How to implement AES using the Cryptographic processor?

The reference manual gives a brief description but how do you actually implement it?

I'm using an STM32F437 which includes a cryptographic accelerator so I'm not looking to use the Cryptographic Library.

Any documentation, tutorial, example code or any kind of guidance would be appreciated.

This topic has been closed for replies.
Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 15, 2019 12:36 PM UTC

Should be AES examples in the CubeF4 HAL trees, these exercise the HW and are easily ported

STM32Cube_FW_F4_V1.24.0\Projects\STM32469I_EVAL\Examples\CRYP\CRYP_AESGCM

STM32Cube_FW_F4_V1.24.0\Projects\STM324xG_EVAL\Examples\CRYP\CRYP_AESModes

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

2 replies

Tesla DeLorean
Tesla DeLoreanBest answer
Guru
Jul 15, 2019 12:36 PM UTC

Should be AES examples in the CubeF4 HAL trees, these exercise the HW and are easily ported

STM32Cube_FW_F4_V1.24.0\Projects\STM32469I_EVAL\Examples\CRYP\CRYP_AESGCM

STM32Cube_FW_F4_V1.24.0\Projects\STM324xG_EVAL\Examples\CRYP\CRYP_AESModes

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
MMart.9
MMart.9Author
Associate
Jul 15, 2019 2:25 PM UTC

Thanks for the hint!