HAL HASH Overview ¶
Introducing HASH ¶
- group HASH_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the HASH module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the HASH 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 HASH module, specifying their locations, default values, and descriptions:
- group HASH_Configuration_Table
-
¶
Configuration inside the HASH driver ¶
Config defines
Description
Default value
Note
PRODUCT
from IDE
NA
STM32U5XX
USE_ASSERT_DBG_PARAM
from the IDE
NONE
Allows to use the assert checks parameters.
USE_ASSERT_DBG_STATE
from the IDE
NONE
Allows to use the assert checks states.
USE_HAL_HASH_MODULE
from hal_conf.h
1
Enable the HAL HASH module
USE_HAL_CHECK_PARAM
from hal_conf.h
0
Allows to use the runtime checks parameters.
USE_HAL_HASH_REGISTER_CALLBACKS
from hal_conf.h
0
Allows to provide specific callback functions.
USE_HAL_HASH_GET_LAST_ERRORS
from hal_conf.h
0
Allows to get last errors codes.
USE_HAL_HASH_USER_DATA
from hal_conf.h
0
Allows to enable/disable user data.
USE_HAL_HASH_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Allows to enable the clock model for the HASH.
USE_HAL_HASH_DMA
from hal_conf.h
1
Allows to enable the HASH DMA module service.
USE_HAL_SECURE_CHECK_PARAM
from hal_conf.h
0
Allows to use the runtime check for sensitive APIs.
USE_HAL_CHECK_PROCESS_STATE
from hal_conf.h
0
Allows to use the load and store exclusive