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

HAL_HMACEx_SHA256_Start() function

Initialize the HASH peripheral in HMAC SHA256 mode, next process pInBuffer then read the computed digest.

Syntax

HAL_StatusTypeDef HAL_HMACEx_SHA256_Start(HASH_HandleTypeDef *hhash,     uint8_t *pInBuffer,     uint32_t Size,     uint8_t *pOutBuffer,     uint32_t Timeout);
Implemented in stm32f4xx_hal_hash_ex.c:543

Arguments

hhash

HASH handle.

pInBuffer

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

Size

length of the input buffer in bytes.

pOutBuffer

pointer to the computed digest. Digest size is 32 bytes.

Timeout

Timeout value.

Return value

HAL status

Notes

Digest is available in pOutBuffer. Same key is used for the inner and the outer hash functions; pointer to key and key size are respectively stored in hhash->Init.pKey and hhash->Init.KeySize.

References

LocationText
stm32f4xx_hal_hash_ex.c:543
HAL_StatusTypeDef HAL_HMACEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size,
stm32f4xx_hal_hash_ex.h:104
HAL_StatusTypeDef HAL_HMACEx_SHA256_Start(HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size,

Call Tree

Functions called by HAL_HMACEx_SHA256_Start()
HAL_HMACEx_SHA256_Start()
all items filtered out
Type of HAL_HMACEx_SHA256_Start()
HAL_HMACEx_SHA256_Start()
all items filtered out