HAL
HAL_HASH_MD5_Accmlt_IT() is only used within HAL.
 
Symbols
loading...
Files
loading...

HAL_HASH_MD5_Accmlt_IT() function

If not already done, initialize the HASH peripheral in MD5 mode then processes pInBuffer in interruption mode.

Syntax

HAL_StatusTypeDef HAL_HASH_MD5_Accmlt_IT(HASH_HandleTypeDef *hhash,     uint8_t *pInBuffer,     uint32_t Size);
Implemented in stm32f4xx_hal_hash.c:940

Arguments

hhash

HASH handle.

pInBuffer

pointer to the input buffer (buffer to be hashed).

Size

length of the input buffer in bytes, must be a multiple of 4.

Return value

HAL status

Notes

Consecutive calls to HAL_HASH_MD5_Accmlt_IT() can be used to feed several input buffers back-to-back to the Peripheral that will yield a single HASH signature once all buffers have been entered. Wrap-up of input buffers feeding and retrieval of digest is done by a call to HAL_HASH_MD5_Accmlt_End_IT(). Field hhash->Phase of HASH handle is tested to check whether or not the Peripheral has already been initialized. The input buffer size (in bytes) must be a multiple of 4 otherwise, the HASH digest computation is corrupted. Only HAL_HASH_MD5_Accmlt_End_IT() is able to manage the ending buffer with a length in bytes not a multiple of 4.

References

LocationText
stm32f4xx_hal_hash.c:940
HAL_StatusTypeDef HAL_HASH_MD5_Accmlt_IT(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size)
stm32f4xx_hal_hash.h:511
HAL_StatusTypeDef HAL_HASH_MD5_Accmlt_IT(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size);

Call Tree

Functions called by HAL_HASH_MD5_Accmlt_IT()
HAL_HASH_MD5_Accmlt_IT()
all items filtered out
Data read by HAL_HASH_MD5_Accmlt_IT()
HAL_HASH_MD5_Accmlt_IT()
Type of HAL_HASH_MD5_Accmlt_IT()
HAL_HASH_MD5_Accmlt_IT()
all items filtered out