Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of TUKS-COURSE-TIMER by
Functions | |
static HAL_StatusTypeDef | CRYP_ProcessData (CRYP_HandleTypeDef *hcryp, uint8_t *Input, uint16_t Ilength, uint8_t *Output, uint32_t Timeout) |
Write/read input/output data in polling mode. | |
static HAL_StatusTypeDef | CRYP_ReadKey (CRYP_HandleTypeDef *hcryp, uint8_t *Output, uint32_t Timeout) |
Read derivative key in polling mode when CRYP hardware block is set in key derivation operating mode (mode 2). | |
static void | CRYP_SetDMAConfig (CRYP_HandleTypeDef *hcryp, uint32_t inputaddr, uint16_t Size, uint32_t outputaddr) |
Set the DMA configuration and start the DMA transfer. | |
static void | CRYP_GCMCMAC_SetDMAConfig (CRYP_HandleTypeDef *hcryp, uint32_t inputaddr, uint16_t Size, uint32_t outputaddr) |
Set the DMA configuration and start the DMA transfer for GCM, GMAC or CMAC chainging modes. | |
static void | CRYP_GCMCMAC_DMAInCplt (DMA_HandleTypeDef *hdma) |
DMA CRYP Input Data process complete callback for GCM, GMAC or CMAC chainging modes. | |
static void | CRYP_GCMCMAC_DMAError (DMA_HandleTypeDef *hdma) |
DMA CRYP communication error callback for GCM, GMAC or CMAC chainging modes. | |
static void | CRYP_GCMCMAC_DMAOutCplt (DMA_HandleTypeDef *hdma) |
DMA CRYP Output Data process complete callback for GCM, GMAC or CMAC chainging modes. | |
static HAL_StatusTypeDef | CRYP_WaitOnCCFlag (CRYP_HandleTypeDef *hcryp, uint32_t Timeout) |
Handle CRYP hardware block Timeout when waiting for CCF flag to be raised. | |
static HAL_StatusTypeDef | CRYP_WaitOnBusyFlagReset (CRYP_HandleTypeDef *hcryp, uint32_t Timeout) |
Wait for Busy Flag to be reset during a GCM payload encryption process suspension. | |
static void | CRYP_DMAInCplt (DMA_HandleTypeDef *hdma) |
DMA CRYP Input Data process complete callback. | |
static void | CRYP_DMAOutCplt (DMA_HandleTypeDef *hdma) |
DMA CRYP Output Data process complete callback. | |
static void | CRYP_DMAError (DMA_HandleTypeDef *hdma) |
DMA CRYP communication error callback. | |
static void | CRYP_Padding (CRYP_HandleTypeDef *hcryp, uint32_t difflength, uint32_t polling) |
Last header or payload block padding when size is not a multiple of 128 bits. | |
HAL_StatusTypeDef | CRYP_AES_Auth_IT (CRYP_HandleTypeDef *hcryp) |
Handle CRYP block input/output data handling under interruption for GCM, GMAC or CMAC chainging modes. |
Function Documentation
HAL_StatusTypeDef CRYP_AES_Auth_IT | ( | CRYP_HandleTypeDef * | hcryp ) |
Handle CRYP block input/output data handling under interruption for GCM, GMAC or CMAC chainging modes.
- Note:
- The function is called under interruption only, once interruptions have been enabled by HAL_CRYPEx_AES_Auth_IT().
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module
- Return values:
-
HAL status
Definition at line 2045 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP communication error callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 2786 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_DMAInCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP Input Data process complete callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 2745 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_DMAOutCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP Output Data process complete callback.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 2761 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_GCMCMAC_DMAError | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP communication error callback for GCM, GMAC or CMAC chainging modes.
- Parameters:
-
hdma,: DMA handle
- Return values:
-
None
Definition at line 2023 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_GCMCMAC_DMAInCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP Input Data process complete callback for GCM, GMAC or CMAC chainging modes.
- Note:
- Specific setting of hcryp fields are required only in the case of header phase where no output data DMA transfer is on-going (only input data transfer is enabled in such a case).
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1946 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_GCMCMAC_DMAOutCplt | ( | DMA_HandleTypeDef * | hdma ) | [static] |
DMA CRYP Output Data process complete callback for GCM, GMAC or CMAC chainging modes.
- Note:
- This callback is called only in the payload phase.
- Parameters:
-
hdma,: DMA handle.
- Return values:
-
None
Definition at line 1987 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_GCMCMAC_SetDMAConfig | ( | CRYP_HandleTypeDef * | hcryp, |
uint32_t | inputaddr, | ||
uint16_t | Size, | ||
uint32_t | outputaddr | ||
) | [static] |
Set the DMA configuration and start the DMA transfer for GCM, GMAC or CMAC chainging modes.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. inputaddr,: Address of the Input buffer. Size,: Size of the Input buffer un bytes, must be a multiple of 16. outputaddr,: Address of the Output buffer, null pointer when no output DMA stream has to be configured.
- Return values:
-
None
Definition at line 2481 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_Padding | ( | CRYP_HandleTypeDef * | hcryp, |
uint32_t | difflength, | ||
uint32_t | polling | ||
) | [static] |
Last header or payload block padding when size is not a multiple of 128 bits.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. difflength,: size remainder after having fed all complete 128-bit blocks. polling,: specifies whether or not polling on CCF must be done after having entered a complete block.
- Return values:
-
None
Definition at line 2806 of file stm32l4xx_hal_cryp_ex.c.
static HAL_StatusTypeDef CRYP_ProcessData | ( | CRYP_HandleTypeDef * | hcryp, |
uint8_t * | Input, | ||
uint16_t | Ilength, | ||
uint8_t * | Output, | ||
uint32_t | Timeout | ||
) | [static] |
Write/read input/output data in polling mode.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. Input,: Pointer to the Input buffer. Ilength,: Length of the Input buffer in bytes, must be a multiple of 16. Output,: Pointer to the returned buffer. Timeout,: Specify Timeout value.
- Return values:
-
HAL status
Definition at line 2529 of file stm32l4xx_hal_cryp_ex.c.
static HAL_StatusTypeDef CRYP_ReadKey | ( | CRYP_HandleTypeDef * | hcryp, |
uint8_t * | Output, | ||
uint32_t | Timeout | ||
) | [static] |
Read derivative key in polling mode when CRYP hardware block is set in key derivation operating mode (mode 2).
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. Output,: Pointer to the returned buffer. Timeout,: Specify Timeout value.
- Return values:
-
HAL status
Definition at line 2608 of file stm32l4xx_hal_cryp_ex.c.
static void CRYP_SetDMAConfig | ( | CRYP_HandleTypeDef * | hcryp, |
uint32_t | inputaddr, | ||
uint16_t | Size, | ||
uint32_t | outputaddr | ||
) | [static] |
Set the DMA configuration and start the DMA transfer.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. inputaddr,: Address of the Input buffer. Size,: Size of the Input buffer in bytes, must be a multiple of 16. outputaddr,: Address of the Output buffer.
- Return values:
-
None
Definition at line 2657 of file stm32l4xx_hal_cryp_ex.c.
static HAL_StatusTypeDef CRYP_WaitOnBusyFlagReset | ( | CRYP_HandleTypeDef * | hcryp, |
uint32_t | Timeout | ||
) | [static] |
Wait for Busy Flag to be reset during a GCM payload encryption process suspension.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. Timeout,: Timeout duration.
- Return values:
-
HAL status
Definition at line 2718 of file stm32l4xx_hal_cryp_ex.c.
static HAL_StatusTypeDef CRYP_WaitOnCCFlag | ( | CRYP_HandleTypeDef * | hcryp, |
uint32_t | Timeout | ||
) | [static] |
Handle CRYP hardware block Timeout when waiting for CCF flag to be raised.
- Parameters:
-
hcryp,: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. Timeout,: Timeout duration.
- Return values:
-
HAL status
Definition at line 2690 of file stm32l4xx_hal_cryp_ex.c.
Generated on Tue Jul 12 2022 17:38:53 by
