STM32F479xx HAL User Manual
|
CRYP IRQ handler. More...
Functions | |
void | HAL_CRYP_IRQHandler (CRYP_HandleTypeDef *hcryp) |
This function handles cryptographic interrupt request. | |
uint32_t | HAL_CRYP_GetError (CRYP_HandleTypeDef *hcryp) |
Return the CRYP error code. | |
HAL_CRYP_STATETypeDef | HAL_CRYP_GetState (CRYP_HandleTypeDef *hcryp) |
Returns the CRYP state. | |
__weak void | HAL_CRYP_InCpltCallback (CRYP_HandleTypeDef *hcryp) |
Input FIFO transfer completed callback. | |
__weak void | HAL_CRYP_OutCpltCallback (CRYP_HandleTypeDef *hcryp) |
Output FIFO transfer completed callback. | |
__weak void | HAL_CRYP_ErrorCallback (CRYP_HandleTypeDef *hcryp) |
CRYP error callback. |
CRYP IRQ handler.
============================================================================== ##### CRYP IRQ handler management ##### ============================================================================== [..] This section provides CRYP IRQ handler and callback functions. (+) HAL_CRYP_IRQHandler CRYP interrupt request (+) HAL_CRYP_InCpltCallback input data transfer complete callback (+) HAL_CRYP_OutCpltCallback output data transfer complete callback (+) HAL_CRYP_ErrorCallback CRYP error callback (+) HAL_CRYP_GetState return the CRYP state (+) HAL_CRYP_GetError return the CRYP error code
void HAL_CRYP_ErrorCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
CRYP error callback.
hcryp,: | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2191 of file stm32f4xx_hal_cryp.c.
Referenced by CRYP_AES_IT(), CRYP_AES_ProcessData(), CRYP_DMAError(), CRYP_SetDMAConfig(), CRYP_TDES_IT(), CRYP_TDES_Process(), CRYP_Workaround(), HAL_CRYP_Init(), and HAL_CRYP_UnRegisterCallback().
uint32_t HAL_CRYP_GetError | ( | CRYP_HandleTypeDef * | hcryp | ) |
Return the CRYP error code.
hcryp | : pointer to a CRYP_HandleTypeDef structure that contains the configuration information for the CRYP IP |
CRYP | error code |
Definition at line 2137 of file stm32f4xx_hal_cryp.c.
References __CRYP_HandleTypeDef::ErrorCode.
Returns the CRYP state.
hcryp,: | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
HAL | state |
Definition at line 2148 of file stm32f4xx_hal_cryp.c.
References __CRYP_HandleTypeDef::State.
void HAL_CRYP_InCpltCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
Input FIFO transfer completed callback.
hcryp,: | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2159 of file stm32f4xx_hal_cryp.c.
Referenced by CRYP_AES_IT(), CRYP_AESGCM_Process_IT(), CRYP_DMAInCplt(), CRYP_GCMCCM_SetHeaderPhase_IT(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_TDES_IT(), HAL_CRYP_Init(), and HAL_CRYP_UnRegisterCallback().
void HAL_CRYP_IRQHandler | ( | CRYP_HandleTypeDef * | hcryp | ) |
This function handles cryptographic interrupt request.
hcryp,: | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module |
None |
Definition at line 2035 of file stm32f4xx_hal_cryp.c.
References __HAL_CRYP_GET_FLAG, CRYP_ConfigTypeDef::Algorithm, CRYP_AES_CBC, CRYP_AES_CCM, CRYP_AES_CTR, CRYP_AES_ECB, CRYP_AES_GCM, CRYP_AES_IT(), CRYP_DES_CBC, CRYP_DES_ECB, CRYP_GCMCCM_SetHeaderPhase_IT(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_IT_INI, CRYP_IT_OUTI, CRYP_PHASE_HEADER, CRYP_TDES_CBC, CRYP_TDES_ECB, CRYP_TDES_IT(), __CRYP_HandleTypeDef::CrypHeaderCount, __CRYP_HandleTypeDef::ErrorCode, HAL_CRYP_ERROR_READ, HAL_CRYP_ERROR_WRITE, CRYP_ConfigTypeDef::HeaderSize, __CRYP_HandleTypeDef::Init, and __CRYP_HandleTypeDef::Instance.
void HAL_CRYP_OutCpltCallback | ( | CRYP_HandleTypeDef * | hcryp | ) |
Output FIFO transfer completed callback.
hcryp,: | pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module. |
None |
Definition at line 2175 of file stm32f4xx_hal_cryp.c.
Referenced by CRYP_AES_IT(), CRYP_DMAOutCplt(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_TDES_IT(), HAL_CRYP_Init(), and HAL_CRYP_UnRegisterCallback().