HAL
HAL_HMACEx_MD5_Step1_2_DMA() is only used within HAL.
 
Symbols
loading...
Files
loading...
SummarySyntaxArgumentsRelatedReferences

Return value

HAL status

Notes

Step 1 consists in writing the inner hash function key in the Peripheral, step 2 consists in writing the message text. The API carries out the HMAC step 1 then starts step 2 with the first buffer entered to the Peripheral. 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.

References

from examples