HAL CCB Overview ¶
Introducing CCB ¶
- group CCB_Introduction
-
The CCB hardware abstraction layer provides a set of APIs to configure and control the CCB peripheral on STM32 microcontrollers. The CCB (coupling and chaining bridge) is a cryptographic hardware accelerator designed to protect private keys used in PKA-protected operations.
Module and files ¶
The following diagram illustrates the CCB module and its associated files.
Component diagram ¶
The following diagram illustrates the software components involved in the CCB 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 CCB module, specifying their locations, default values, and descriptions:
- group CCB_Configuration_Table
-
Configuration inside the CCB driver ¶
Config defines
Description
Default value
Note
PRODUCT
from IDE
NA
Ex:STM32C5XXxx.
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
0U
Parameters runtime check.
USE_HAL_SECURE_CHECK_PARAM
from hal_conf.h
0U
Parameters runtime check for sensitive APIs.
USE_HAL_CCB_MODULE
from hal_conf.h
1U
Enable the HAL CCB module.
USE_HAL_CCB_CLK_ENABLE_MODEL
from hal_conf.h
HAL_CLK_ENABLE_NO
Enable the HAL_CCB_CLK.
USE_HAL_CCB_GET_LAST_ERRORS
from hal_conf.h
0U
Allows retrieving the last error codes.
USE_HAL_CCB_USER_DATA
from hal_conf.h
0U
Allows enabling or disabling user data.