STM32F479xx HAL User Manual
Functions
CRYP IRQ handler management
CRYP Exported Functions

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.

Detailed Description

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

Function Documentation

CRYP error callback.

Parameters:
hcryp,:pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module.
Return values:
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.

Parameters:
hcryp: pointer to a CRYP_HandleTypeDef structure that contains the configuration information for the CRYP IP
Return values:
CRYPerror code

Definition at line 2137 of file stm32f4xx_hal_cryp.c.

References __CRYP_HandleTypeDef::ErrorCode.

Returns the CRYP state.

Parameters:
hcryp,:pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module.
Return values:
HALstate

Definition at line 2148 of file stm32f4xx_hal_cryp.c.

References __CRYP_HandleTypeDef::State.

Input FIFO transfer completed callback.

Parameters:
hcryp,:pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module.
Return values:
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().

Output FIFO transfer completed callback.

Parameters:
hcryp,:pointer to a CRYP_HandleTypeDef structure that contains the configuration information for CRYP module.
Return values:
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().