STM32H735xx HAL User Manual
Data Structures | Typedefs | Enumerations
HASH Exported Types
HASH

Data Structures

struct  HASH_InitTypeDef
 HASH Configuration Structure definition. More...
struct  __HASH_HandleTypeDef
 HASH Handle Structure definition. More...

Typedefs

typedef struct __HASH_HandleTypeDef HASH_HandleTypeDef
 HASH Handle Structure definition.
typedef void(* pHASH_CallbackTypeDef )(HASH_HandleTypeDef *hhash)
 HAL HASH Callback pointer definition.

Enumerations

enum  HAL_HASH_StateTypeDef {
  HAL_HASH_STATE_RESET = 0x00U, HAL_HASH_STATE_READY = 0x01U, HAL_HASH_STATE_BUSY = 0x02U, HAL_HASH_STATE_TIMEOUT = 0x06U,
  HAL_HASH_STATE_ERROR = 0x07U, HAL_HASH_STATE_SUSPENDED = 0x08U
}
 HAL State structures definition. More...
enum  HAL_HASH_PhaseTypeDef {
  HAL_HASH_PHASE_READY = 0x01U, HAL_HASH_PHASE_PROCESS = 0x02U, HAL_HASH_PHASE_HMAC_STEP_1 = 0x03U, HAL_HASH_PHASE_HMAC_STEP_2 = 0x04U,
  HAL_HASH_PHASE_HMAC_STEP_3 = 0x05U
}
 HAL phase structures definition. More...
enum  HAL_HASH_SuspendTypeDef { HAL_HASH_SUSPEND_NONE = 0x00U, HAL_HASH_SUSPEND = 0x01U }
 HAL HASH mode suspend definitions. More...
enum  HAL_HASH_CallbackIDTypeDef {
  HAL_HASH_MSPINIT_CB_ID = 0x00U, HAL_HASH_MSPDEINIT_CB_ID = 0x01U, HAL_HASH_INPUTCPLT_CB_ID = 0x02U, HAL_HASH_DGSTCPLT_CB_ID = 0x03U,
  HAL_HASH_ERROR_CB_ID = 0x04U
}
 HAL HASH common Callback ID enumeration definition. More...

Typedef Documentation

HASH Handle Structure definition.

typedef void(* pHASH_CallbackTypeDef)(HASH_HandleTypeDef *hhash)

HAL HASH Callback pointer definition.

pointer to a HASH common callback functions

Definition at line 174 of file stm32h7xx_hal_hash.h.


Enumeration Type Documentation

HAL HASH common Callback ID enumeration definition.

Enumerator:
HAL_HASH_MSPINIT_CB_ID 

HASH MspInit callback ID

HAL_HASH_MSPDEINIT_CB_ID 

HASH MspDeInit callback ID

HAL_HASH_INPUTCPLT_CB_ID 

HASH input completion callback ID

HAL_HASH_DGSTCPLT_CB_ID 

HASH digest computation completion callback ID

HAL_HASH_ERROR_CB_ID 

HASH error callback ID

Definition at line 98 of file stm32h7xx_hal_hash.h.

HAL phase structures definition.

Enumerator:
HAL_HASH_PHASE_READY 

HASH peripheral is ready to start

HAL_HASH_PHASE_PROCESS 

HASH peripheral is in HASH processing phase

HAL_HASH_PHASE_HMAC_STEP_1 

HASH peripheral is in HMAC step 1 processing phase (step 1 consists in entering the inner hash function key)

HAL_HASH_PHASE_HMAC_STEP_2 

HASH peripheral is in HMAC step 2 processing phase (step 2 consists in entering the message text)

HAL_HASH_PHASE_HMAC_STEP_3 

HASH peripheral is in HMAC step 3 processing phase (step 3 consists in entering the outer hash function key)

Definition at line 73 of file stm32h7xx_hal_hash.h.

HAL State structures definition.

Enumerator:
HAL_HASH_STATE_RESET 

Peripheral is not initialized

HAL_HASH_STATE_READY 

Peripheral Initialized and ready for use

HAL_HASH_STATE_BUSY 

Processing (hashing) is ongoing

HAL_HASH_STATE_TIMEOUT 

Timeout state

HAL_HASH_STATE_ERROR 

Error state

HAL_HASH_STATE_SUSPENDED 

Suspended state

Definition at line 60 of file stm32h7xx_hal_hash.h.

HAL HASH mode suspend definitions.

Enumerator:
HAL_HASH_SUSPEND_NONE 

HASH peripheral suspension not requested

HAL_HASH_SUSPEND 

HASH peripheral suspension is requested

Definition at line 88 of file stm32h7xx_hal_hash.h.