HMAC extended processing functions using interruption mode.
More...
|
HAL_StatusTypeDef | HAL_HMACEx_SHA224_Start_IT (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer) |
| Initialize the HASH peripheral in HMAC SHA224 mode, next process pInBuffer then read the computed digest in interrupt mode. More...
|
|
HAL_StatusTypeDef | HAL_HMACEx_SHA256_Start_IT (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size, uint8_t *pOutBuffer) |
| Initialize the HASH peripheral in HMAC SHA256 mode, next process pInBuffer then read the computed digest in interrupt mode. More...
|
|
HMAC extended processing functions using interruption mode.
===============================================================================
##### Interrupt mode HMAC extended processing functions #####
===============================================================================
[..] This section provides functions allowing to calculate in interrupt mode
the HMAC value using one of the following algorithms:
(+) SHA224
(++) HAL_HMACEx_SHA224_Start_IT()
(+) SHA256
(++) HAL_HMACEx_SHA256_Start_IT()
◆ HAL_HMACEx_SHA224_Start_IT()
HAL_StatusTypeDef HAL_HMACEx_SHA224_Start_IT |
( |
HASH_HandleTypeDef * |
hhash, |
|
|
uint8_t * |
pInBuffer, |
|
|
uint32_t |
Size, |
|
|
uint8_t * |
pOutBuffer |
|
) |
| |
Initialize the HASH peripheral in HMAC SHA224 mode, next process pInBuffer then read the computed digest in interrupt mode.
- Note
- 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.
- Parameters
-
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 28 bytes. |
- Return values
-
Definition at line 586 of file stm32f4xx_hal_hash_ex.c.
◆ HAL_HMACEx_SHA256_Start_IT()
HAL_StatusTypeDef HAL_HMACEx_SHA256_Start_IT |
( |
HASH_HandleTypeDef * |
hhash, |
|
|
uint8_t * |
pInBuffer, |
|
|
uint32_t |
Size, |
|
|
uint8_t * |
pOutBuffer |
|
) |
| |
Initialize the HASH peripheral in HMAC SHA256 mode, next process pInBuffer then read the computed digest in interrupt mode.
- Note
- 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.
- Parameters
-
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. |
- Return values
-
Definition at line 604 of file stm32f4xx_hal_hash_ex.c.