HAL_HMACEx_SHA1_Step2_DMA() function
SHA1 HMAC step 2 in multi-buffer DMA mode.
Arguments
hhash
HASH handle.
pInBuffer
pointer to the input buffer (message buffer).
Size
length of the input buffer in bytes.
Return value
HAL status
Notes
Step 2 consists in writing the message text in the Peripheral. The API carries on the HMAC step 2, applied to the buffer entered as input parameter. DCAL bit is not automatically set after the message buffer feeding, allowing other messages DMA transfers to occur. 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. The input buffer size (in bytes) must be a multiple of 4 otherwise, the HASH digest computation is corrupted.
Functions called by HAL_HMACEx_SHA1_Step2_DMA()
HAL_HMACEx_SHA1_Step2_DMA()
Data read by HAL_HMACEx_SHA1_Step2_DMA()
HAL_HMACEx_SHA1_Step2_DMA()
Type of HAL_HMACEx_SHA1_Step2_DMA()
HAL_HMACEx_SHA1_Step2_DMA()