STM32H735xx HAL User Manual
|
HASH Handle Structure definition. More...
#include <stm32h7xx_hal_hash.h>
Data Fields | |
HASH_InitTypeDef | Init |
uint8_t * | pHashInBuffPtr |
uint8_t * | pHashOutBuffPtr |
uint8_t * | pHashKeyBuffPtr |
uint8_t * | pHashMsgBuffPtr |
uint32_t | HashBuffSize |
__IO uint32_t | HashInCount |
__IO uint32_t | HashITCounter |
__IO uint32_t | HashKeyCount |
HAL_StatusTypeDef | Status |
HAL_HASH_PhaseTypeDef | Phase |
DMA_HandleTypeDef * | hdmain |
HAL_LockTypeDef | Lock |
__IO HAL_HASH_StateTypeDef | State |
HAL_HASH_SuspendTypeDef | SuspendRequest |
FlagStatus | DigestCalculationDisable |
__IO uint32_t | NbWordsAlreadyPushed |
__IO uint32_t | ErrorCode |
__IO uint32_t | Accumulation |
void(* | InCpltCallback )(struct __HASH_HandleTypeDef *hhash) |
void(* | DgstCpltCallback )(struct __HASH_HandleTypeDef *hhash) |
void(* | ErrorCallback )(struct __HASH_HandleTypeDef *hhash) |
void(* | MspInitCallback )(struct __HASH_HandleTypeDef *hhash) |
void(* | MspDeInitCallback )(struct __HASH_HandleTypeDef *hhash) |
HASH Handle Structure definition.
Definition at line 113 of file stm32h7xx_hal_hash.h.
__IO uint32_t __HASH_HandleTypeDef::Accumulation |
HASH multi buffers accumulation flag
Definition at line 154 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HASH_Accumulate_IT(), and HASH_Write_Block_Data().
void(* __HASH_HandleTypeDef::DgstCpltCallback)(struct __HASH_HandleTypeDef *hhash) |
HASH digest computation completion callback
Definition at line 159 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HAL_HASH_RegisterCallback(), HAL_HASH_UnRegisterCallback(), and HASH_IT().
Digest calculation phase skip (MDMAT bit control) for multi-buffers DMA-based HMAC computation
Definition at line 148 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_Init(), HAL_HMACEx_MD5_Step1_2_DMA(), HAL_HMACEx_MD5_Step2_3_DMA(), HAL_HMACEx_MD5_Step2_DMA(), HAL_HMACEx_SHA1_Step1_2_DMA(), HAL_HMACEx_SHA1_Step2_3_DMA(), HAL_HMACEx_SHA1_Step2_DMA(), HAL_HMACEx_SHA224_Step1_2_DMA(), HAL_HMACEx_SHA224_Step2_3_DMA(), HAL_HMACEx_SHA224_Step2_DMA(), HAL_HMACEx_SHA256_Step1_2_DMA(), HAL_HMACEx_SHA256_Step2_3_DMA(), HAL_HMACEx_SHA256_Step2_DMA(), HASH_DMAXferCplt(), and HMAC_Start_DMA().
void(* __HASH_HandleTypeDef::ErrorCallback)(struct __HASH_HandleTypeDef *hhash) |
HASH error callback
Definition at line 161 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HAL_HASH_IRQHandler(), HAL_HASH_RegisterCallback(), HAL_HASH_UnRegisterCallback(), and HASH_DMAError().
__IO uint32_t __HASH_HandleTypeDef::ErrorCode |
HASH Error code
Definition at line 152 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_GetError(), HAL_HASH_Init(), HAL_HASH_IRQHandler(), HAL_HASH_RegisterCallback(), HAL_HASH_UnRegisterCallback(), and HASH_DMAError().
uint32_t __HASH_HandleTypeDef::HashBuffSize |
Size of buffer to be processed
Definition at line 128 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_Init(), HASH_DMAXferCplt(), HASH_IT(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
__IO uint32_t __HASH_HandleTypeDef::HashInCount |
Counter of inputted data
Definition at line 130 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_DMAFeed_ProcessSuspend(), HAL_HASH_Init(), HASH_Accumulate(), HASH_Accumulate_IT(), HASH_DMAXferCplt(), HASH_IT(), HASH_Start(), HASH_Start_DMA(), HASH_Start_IT(), HASH_Write_Block_Data(), HASH_WriteData(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
__IO uint32_t __HASH_HandleTypeDef::HashITCounter |
Counter of issued interrupts
Definition at line 132 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_Init(), HASH_Accumulate_IT(), HASH_IT(), HASH_Start_IT(), HASH_Write_Block_Data(), and HMAC_Start_IT().
__IO uint32_t __HASH_HandleTypeDef::HashKeyCount |
Counter for Key inputted data (HMAC only)
Definition at line 134 of file stm32h7xx_hal_hash.h.
Referenced by HASH_WriteData(), HMAC_Processing(), and HMAC_Start().
HASH In DMA Handle parameters
Definition at line 140 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DMAFeed_ProcessSuspend(), HASH_DMAXferCplt(), HASH_Start_DMA(), and HMAC_Start_DMA().
void(* __HASH_HandleTypeDef::InCpltCallback)(struct __HASH_HandleTypeDef *hhash) |
HASH input completion callback
Definition at line 157 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HAL_HASH_RegisterCallback(), HAL_HASH_UnRegisterCallback(), HASH_DMAXferCplt(), HASH_IT(), and HASH_Write_Block_Data().
HASH required parameters
Definition at line 118 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HASH_DMAXferCplt(), HASH_IT(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
HAL_LockTypeDef __HASH_HandleTypeDef::Lock |
void(* __HASH_HandleTypeDef::MspDeInitCallback)(struct __HASH_HandleTypeDef *hhash) |
HASH Msp DeInit callback
Definition at line 165 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_RegisterCallback(), and HAL_HASH_UnRegisterCallback().
void(* __HASH_HandleTypeDef::MspInitCallback)(struct __HASH_HandleTypeDef *hhash) |
HASH Msp Init callback
Definition at line 163 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HAL_HASH_RegisterCallback(), and HAL_HASH_UnRegisterCallback().
__IO uint32_t __HASH_HandleTypeDef::NbWordsAlreadyPushed |
Numbers of words already pushed in FIFO before inputting new block
Definition at line 150 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DMAFeed_ProcessSuspend(), HAL_HASH_Init(), HASH_DMAXferCplt(), HASH_Start_DMA(), and HMAC_Start_DMA().
HASH peripheral phase
Definition at line 138 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_Init(), HASH_Accumulate(), HASH_Accumulate_IT(), HASH_DMAXferCplt(), HASH_Finish(), HASH_IT(), HASH_Start(), HASH_Start_DMA(), HASH_Start_IT(), HASH_WriteData(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
uint8_t* __HASH_HandleTypeDef::pHashInBuffPtr |
Pointer to input buffer
Definition at line 120 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DMAFeed_ProcessSuspend(), HASH_Accumulate(), HASH_Accumulate_IT(), HASH_DMAXferCplt(), HASH_IT(), HASH_Start(), HASH_Start_DMA(), HASH_Start_IT(), HASH_Write_Block_Data(), HASH_WriteData(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
Pointer to key buffer (HMAC only)
Definition at line 124 of file stm32h7xx_hal_hash.h.
Referenced by HASH_WriteData(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
Pointer to message buffer (HMAC only)
Definition at line 126 of file stm32h7xx_hal_hash.h.
Referenced by HASH_DMAXferCplt(), HASH_IT(), HMAC_Start_DMA(), and HMAC_Start_IT().
Pointer to output buffer (digest)
Definition at line 122 of file stm32h7xx_hal_hash.h.
Referenced by HASH_IT(), HASH_Start_IT(), HMAC_Processing(), HMAC_Start(), and HMAC_Start_IT().
HASH peripheral state
Definition at line 144 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_DMAFeed_ProcessSuspend(), HAL_HASH_GetState(), HAL_HASH_Init(), HAL_HASH_RegisterCallback(), HAL_HASH_UnRegisterCallback(), HASH_Accumulate(), HASH_Accumulate_IT(), HASH_DMAError(), HASH_DMAXferCplt(), HASH_Finish(), HASH_IT(), HASH_Start(), HASH_Start_DMA(), HASH_Start_IT(), HASH_WaitOnFlagUntilTimeout(), HASH_Write_Block_Data(), HASH_WriteData(), HMAC_Processing(), HMAC_Start(), HMAC_Start_DMA(), and HMAC_Start_IT().
HAL_StatusTypeDef __HASH_HandleTypeDef::Status |
HASH peripheral status
Definition at line 136 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_DeInit(), HAL_HASH_GetStatus(), HAL_HASH_Init(), HAL_HASH_IRQHandler(), HASH_Accumulate(), HASH_DMAError(), HASH_Start(), HASH_WaitOnFlagUntilTimeout(), and HMAC_Processing().
HASH peripheral suspension request flag
Definition at line 146 of file stm32h7xx_hal_hash.h.
Referenced by HAL_HASH_Init(), HAL_HASH_SwFeed_ProcessSuspend(), HASH_IT(), and HASH_WriteData().