commit | 8f0de8455de6dbfdf41b58dc7848fe2bef16672a | [log] [tgz] |
---|---|---|
author | Lucas Dietrich <ld.adecy@gmail.com> | Thu Sep 19 14:29:18 2024 +0200 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Fri Oct 11 09:28:12 2024 +0200 |
tree | a9819a63bf9b196076860653b5a3626f0cb2f3db | |
parent | fbeda5959dd82b58027c07f1ce95a58a9001626e [diff] |
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: Lucas Dietrich <ld.adecy@gmail.com>