Returns the computed digest in MD5 mode.
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pOutBuffer: Pointer to the computed digest. Its size must be
16 bytes.
Timeout: Timeout value
HAL_HMAC_SHA1_Start_DMA
HAL_StatusTypeDef HAL_HMAC_SHA1_Start_DMA
(HASH_HandleTypeDef * hhash, uint8_t * pInBuffer, uint32_t
Size)
Initializes the HASH peripheral in HMAC SHA1 mode then enables
DMA to control data transfer.
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pInBuffer: Pointer to the input buffer (buffer to be hashed).
Size: Length of the input buffer in bytes. If the Size is not
multiple of 64 bytes, the padding is managed by hardware.
HAL_HMAC_MD5_Start_DMA
HAL_StatusTypeDef HAL_HMAC_MD5_Start_DMA
(HASH_HandleTypeDef * hhash, uint8_t * pInBuffer, uint32_t
Size)
Initializes the HASH peripheral in HMAC MD5 mode then enables
DMA to control data transfer.
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
pInBuffer: Pointer to the input buffer (buffer to be hashed).
Size: Length of the input buffer in bytes. If the Size is not
multiple of 64 bytes, the padding is managed by hardware.
HAL_HASH_IRQHandler
void HAL_HASH_IRQHandler (HASH_HandleTypeDef * hhash)
This function handles HASH interrupt request.
hhash: pointer to a HASH_HandleTypeDef structure that
contains the configuration information for HASH module
HAL_HASH_GetState
HAL_HASH_StateTypeDef HAL_HASH_GetState
(HASH_HandleTypeDef * hhash)