STM32F439xx HAL User Manual
|
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. |
static void HASH_DMAError | ( | DMA_HandleTypeDef * | hdma | ) | [static] |
DMA HASH communication error callback.
hdma | DMA handle |
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] |
DMA HASH Input Data complete callback.
hdma | DMA handle |
None |
Definition at line 138 of file stm32f4xx_hal_hash.c.
References HAL_DMA_Start_IT(), HAL_HASH_InCpltCallback(), HAL_HASH_STATE_READY, HASH_HandleTypeDef::HashBuffSize, HASH_HandleTypeDef::HashInCount, HASH_HandleTypeDef::hdmain, HASH_HandleTypeDef::Init, HASH_InitTypeDef::KeySize, HASH_HandleTypeDef::pHashInBuffPtr, HASH_InitTypeDef::pKey, HASH_HandleTypeDef::State, and __DMA_HandleTypeDef::XferCpltCallback.
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_GetDigest | ( | uint8_t * | pMsgDigest, |
uint8_t | Size | ||
) | [static] |
Provides the message digest result.
pMsgDigest | Pointer to the message digest |
Size | The size of the message digest in bytes |
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.
pInBuffer | Pointer to input buffer |
Size | The size of input buffer |
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().