STM32F439xx HAL User Manual
Functions
HASH Private Functions
HASH

Functions

static void HASH_DMAXferCplt (DMA_HandleTypeDef *hdma)
 DMA HASH Input Data complete callback.
static void HASH_DMAError (DMA_HandleTypeDef *hdma)
 DMA HASH communication error callback.
static void HASH_GetDigest (uint8_t *pMsgDigest, uint8_t Size)
 Provides the message digest result.
static void HASH_WriteData (uint8_t *pInBuffer, uint32_t Size)
 Writes the input buffer in data register.

Function Documentation

static void HASH_DMAError ( DMA_HandleTypeDef hdma) [static]

DMA HASH communication error callback.

Parameters:
hdmaDMA handle
Return values:
None

Definition at line 210 of file stm32f4xx_hal_hash.c.

References HAL_HASH_ErrorCallback(), HAL_HASH_STATE_READY, and HASH_HandleTypeDef::State.

Referenced by HAL_HASH_MD5_Start_DMA(), HAL_HASH_SHA1_Start_DMA(), HAL_HMAC_MD5_Start_DMA(), and HAL_HMAC_SHA1_Start_DMA().

static void HASH_DMAXferCplt ( DMA_HandleTypeDef hdma) [static]
static void HASH_GetDigest ( uint8_t *  pMsgDigest,
uint8_t  Size 
) [static]

Provides the message digest result.

Parameters:
pMsgDigestPointer to the message digest
SizeThe size of the message digest in bytes
Return values:
None

Definition at line 241 of file stm32f4xx_hal_hash.c.

Referenced by HAL_HASH_MD5_Finish(), HAL_HASH_MD5_Start(), HAL_HASH_SHA1_Finish(), HAL_HASH_SHA1_Start(), HAL_HMAC_MD5_Start(), and HAL_HMAC_SHA1_Start().

static void HASH_WriteData ( uint8_t *  pInBuffer,
uint32_t  Size 
) [static]

Writes the input buffer in data register.

Parameters:
pInBufferPointer to input buffer
SizeThe size of input buffer
Return values:
None

Definition at line 223 of file stm32f4xx_hal_hash.c.

Referenced by HAL_HASH_MD5_Accumulate(), HAL_HASH_MD5_Start(), HAL_HASH_SHA1_Accumulate(), HAL_HASH_SHA1_Start(), HAL_HMAC_MD5_Start(), and HAL_HMAC_SHA1_Start().