Initialization and Configuration functions.
More...
Initialization and Configuration functions.
===============================================================================
##### Initialization and de-initialization functions #####
===============================================================================
[..] This subsection provides a set of functions allowing to initialize and
de-initialize the AESx peripheral:
(+) User must implement hal_aes_msp_init() function in which he configures
all related peripherals resources (GPIO, DMA, IT and NVIC ).
(+) Call the function hal_aes_init() to configure the selected device with
the selected configuration:
(++) Key Size
(++) operation_mode
(++) ChainingMode
(++) key
(++) init_vector
(++) DPAMode
(++) Seed
(+) Call the function hal_aes_deinit() to restore the default configuration
of the selected AESx peripheral.
◆ hal_aes_deinit()
De-initialize the AES peripheral.
- Parameters
-
[in] | p_aes | Pointer to an AES handle which contains the configuration information for the specified AES module. |
- Return values
-
◆ hal_aes_init()
Initialize the AES according to the specified parameters in the aes_init_t and initialize the associated handle.
- Parameters
-
[in] | p_aes | Pointer to an AES handle which contains the configuration information for the specified AES module. |
- Return values
-
◆ hal_aes_msp_deinit()
De-initialize the AES MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_aes_msp_deinit can be implemented in the user file.
- Parameters
-
[in] | p_aes | Pointer to an AES handle which contains the configuration information for the specified AES module. |
◆ hal_aes_msp_init()
Initialize the AES MSP.
- Note
- This function should not be modified. When the callback is needed, the hal_aes_msp_deinit can be implemented in the user file.
- Parameters
-
[in] | p_aes | Pointer to an AES handle which contains the configuration information for the specified AES module. |