|
STM32F479xx HAL User Manual
|
HMAC processing functions using DMA modes. More...
Functions | |
| HAL_StatusTypeDef | HAL_HMAC_MD5_Start_DMA (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size) |
| Initialize the HASH peripheral in HMAC MD5 mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral. | |
| HAL_StatusTypeDef | HAL_HMAC_SHA1_Start_DMA (HASH_HandleTypeDef *hhash, uint8_t *pInBuffer, uint32_t Size) |
| Initialize the HASH peripheral in HMAC SHA1 mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral. | |
HMAC processing functions using DMA modes.
===============================================================================
##### DMA mode HMAC processing functions #####
===============================================================================
[..] This section provides functions allowing to calculate in DMA mode
the HMAC value using one of the following algorithms:
(+) MD5
(++) HAL_HMAC_MD5_Start_DMA()
(+) SHA1
(++) HAL_HMAC_SHA1_Start_DMA()
[..] When resorting to DMA mode to enter the data in the Peripheral for HMAC processing,
user must resort to HAL_HMAC_xxx_Start_DMA() then read the resulting digest
with HAL_HASH_xxx_Finish().
| HAL_StatusTypeDef HAL_HMAC_MD5_Start_DMA | ( | HASH_HandleTypeDef * | hhash, |
| uint8_t * | pInBuffer, | ||
| uint32_t | Size | ||
| ) |
Initialize the HASH peripheral in HMAC MD5 mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral.
| hhash | HASH handle. |
| pInBuffer | pointer to the input buffer (buffer to be hashed). |
| Size | length of the input buffer in bytes. |
| HAL | status |
Definition at line 1302 of file stm32f4xx_hal_hash.c.
References HASH_ALGOSELECTION_MD5, and HMAC_Start_DMA().
| HAL_StatusTypeDef HAL_HMAC_SHA1_Start_DMA | ( | HASH_HandleTypeDef * | hhash, |
| uint8_t * | pInBuffer, | ||
| uint32_t | Size | ||
| ) |
Initialize the HASH peripheral in HMAC SHA1 mode then initiate the required DMA transfers to feed the key and the input buffer to the Peripheral.
| hhash | HASH handle. |
| pInBuffer | pointer to the input buffer (buffer to be hashed). |
| Size | length of the input buffer in bytes. |
| HAL | status |
Definition at line 1327 of file stm32f4xx_hal_hash.c.
References HASH_ALGOSELECTION_SHA1, and HMAC_Start_DMA().
1.7.6.1