STM32H735xx 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 1788 of file stm32h7xx_hal_cryp.c.

Referenced by CRYP_AES_IT(), CRYP_AES_ProcessData(), CRYP_AESCCM_Process(), CRYP_AESCCM_Process_DMA(), CRYP_AESGCM_Process(), CRYP_AESGCM_Process_DMA(), CRYP_DMAError(), CRYP_DMAOutCplt(), CRYP_SetDMAConfig(), CRYP_TDES_IT(), CRYP_TDES_Process(), 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 1734 of file stm32h7xx_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 1745 of file stm32h7xx_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 1756 of file stm32h7xx_hal_cryp.c.

Referenced by CRYP_AES_IT(), CRYP_DMAInCplt(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_TDES_IT(), HAL_CRYP_Init(), and HAL_CRYP_UnRegisterCallback().

This function handles cryptographic interrupt request.

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

Definition at line 1694 of file stm32h7xx_hal_cryp.c.

References CRYP_ConfigTypeDef::Algorithm, CRYP_AES_CBC, 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::Init, and __CRYP_HandleTypeDef::Instance.

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 1772 of file stm32h7xx_hal_cryp.c.

Referenced by CRYP_AES_IT(), CRYP_DMAOutCplt(), CRYP_GCMCCM_SetPayloadPhase_IT(), CRYP_TDES_IT(), HAL_CRYP_Init(), and HAL_CRYP_UnRegisterCallback().