HAL AES Overview ¶
Introducing AES ¶
- group AES_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the AES module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the AES module. It shows the interactions between the user application, HAL drivers, low-level drivers, and the hardware components.
Configuration table ¶
The following table lists the configuration defines for the HAL AES module, specifying their locations, default values, and descriptions:
- group AES_Configuration_Table
-
¶
Configuration inside the AES driver ¶
Config defines
Description
Default value
Note
PRODUCT
from IDE
NA
Ex:STM32U5xx
USE_HAL_AES_MODULE
from hal_conf.h
1
Enable the HAL AES module
USE_HAL_AES_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the HAL_AES_CLK
USE_ASSERT_DBG_PARAM
from IDE
NA
Enable the parameters asserts
USE_ASSERT_DBG_STATE
from IDE
NA
Enable the state asserts
USE_HAL_CHECK_PARAM
from hal_conf.h
0
Parameters runtime check
USE_HAL_SECURE_CHECK_PARAM
from hal_conf.h
0
Parameters runtime check for sensitive APIs
USE_HAL_CHECK_PROCESS_STATE
from hal_conf.h
0
Allows to use the load and store exclusive.
USE_HAL_AES_DMA
from hal_conf.h
1
Allows to use DMA mode
USE_HAL_AES_ECB_CBC_ALGO
from hal_conf.h
1
Allows to use ECB and CBC algorithms
USE_HAL_AES_CTR_ALGO
from hal_conf.h
1
Allows to use CTR algorithm
USE_HAL_AES_GCM_GMAC_ALGO
from hal_conf.h
1
Allows to use GCM and GMAC algorithms
USE_HAL_AES_CCM_ALGO
from hal_conf.h
1
Allows to use CCM algorithm
USE_HAL_AES_SUSPEND_RESUME
from hal_conf.h
1
Allows to use Suspend features
USE_HAL_AES_REGISTER_CALLBACKS
from hal_conf h
0
Allows to use register callbacks
USE_HAL_AES_GET_LAST_ERRORS
from hal_conf.h
0
Allows to use error code mechanism
USE_HAL_AES_USER_DATA
from hal_conf.h
0
Allows to use user data