Skip to content
Commit 8f0de845 authored by Lucas Dietrich's avatar Lucas Dietrich Committed by Carles Cufí
Browse files

drivers: crypto: Refactor encryption and decryption functions for STM32 AES



This patch introduces a unified function pointer approach to handle
encryption and decryption operations for the STM32 AES accelerator.

- Replace separate `do_encrypt` and `do_decrypt` functions with a generic
`do_aes` function, using function pointers to AES HAL functions.

Signed-off-by: default avatarLucas Dietrich <ld.adecy@gmail.com>
parent fbeda595
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment