STM32F4xx HAL Documentation
Hardware Abstraction Layer for STM32F4 familiy
Loading...
Searching...
No Matches
HASH Exported Types
Collaboration diagram for HASH Exported Types:

Data Structures

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

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...
 

Detailed Description

Enumeration Type Documentation

◆ HAL_HASH_StateTypeDef

#include <stm32f4xx_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 stm32f4xx_hal_hash.h.

◆ HAL_HASH_PhaseTypeDef

#include <stm32f4xx_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 stm32f4xx_hal_hash.h.

◆ HAL_HASH_SuspendTypeDef

#include <stm32f4xx_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 stm32f4xx_hal_hash.h.