HAL RNG Overview ¶
Introducing RNG ¶
- group RNG_Introduction
-
-
This introduction is under development.
-
Module and files ¶
The following diagram illustrates the RNG module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the RNG 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 RNG module, specifying their locations, default values, and descriptions:
- group RNG_Configuration_Table
-
¶
Configuration inside the RNG driver ¶
Config defines
Description
Default value
Note
PRODUCT
from IDE
NA
Ex:STM32U5XXxx.
USE_ASSERT_DBG_PARAM
from IDE
None
Enable the parameters asserts.
USE_ASSERT_DBG_STATE
from IDE
None
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_RNG_MODULE
from hal_conf.h
1
Enable the HAL RNG module.
USE_HAL_RNG_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the HAL_RNG_CLK.
USE_HAL_RNG_REGISTER_CALLBACKS
from hal_conf.h
0
Enable the register callbacks assert.
USE_HAL_RNG_GET_LAST_ERRORS
from hal_conf.h
0
Allows to get the last errors codes.
USE_HAL_RNG_USER_DATA
from hal_conf.h
0
Allows to Enable/Disable user data.
RNG_CERT_NIST
from stm32u5xxxx.h
NA
Product dependent values from DFP.