STM32H735xx HAL User Manual
Defines
CRYP Error Definition
CRYP Exported Constants

Defines

#define HAL_CRYP_ERROR_NONE   0x00000000U
#define HAL_CRYP_ERROR_WRITE   0x00000001U
#define HAL_CRYP_ERROR_READ   0x00000002U
#define HAL_CRYP_ERROR_DMA   0x00000004U
#define HAL_CRYP_ERROR_BUSY   0x00000008U
#define HAL_CRYP_ERROR_TIMEOUT   0x00000010U
#define HAL_CRYP_ERROR_NOT_SUPPORTED   0x00000020U
#define HAL_CRYP_ERROR_AUTH_TAG_SEQUENCE   0x00000040U
#define HAL_CRYP_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000080U)

Define Documentation

#define HAL_CRYP_ERROR_AUTH_TAG_SEQUENCE   0x00000040U

Sequence are not respected only for GCM or CCM

Definition at line 198 of file stm32h7xx_hal_cryp.h.

Referenced by HAL_CRYPEx_AESCCM_GenerateAuthTAG(), and HAL_CRYPEx_AESGCM_GenerateAuthTAG().

#define HAL_CRYP_ERROR_BUSY   0x00000008U
#define HAL_CRYP_ERROR_DMA   0x00000004U

DMA error

Definition at line 194 of file stm32h7xx_hal_cryp.h.

Referenced by CRYP_DMAError(), and CRYP_SetDMAConfig().

#define HAL_CRYP_ERROR_INVALID_CALLBACK   ((uint32_t)0x00000080U)

Invalid Callback error

Definition at line 200 of file stm32h7xx_hal_cryp.h.

Referenced by HAL_CRYP_RegisterCallback(), and HAL_CRYP_UnRegisterCallback().

#define HAL_CRYP_ERROR_NONE   0x00000000U

No error

Definition at line 191 of file stm32h7xx_hal_cryp.h.

Referenced by HAL_CRYP_Init(), and HAL_CRYP_SetConfig().

#define HAL_CRYP_ERROR_NOT_SUPPORTED   0x00000020U
#define HAL_CRYP_ERROR_READ   0x00000002U

Read error

Definition at line 193 of file stm32h7xx_hal_cryp.h.

#define HAL_CRYP_ERROR_TIMEOUT   0x00000010U
#define HAL_CRYP_ERROR_WRITE   0x00000001U

Write error

Definition at line 192 of file stm32h7xx_hal_cryp.h.