Detailed Description
This module contains the implementation of HMAC: Keyed-Hashing for Message Authentication, as described in RFC 2104
Function Documentation
Calculate HMAC MD5 digest for the specified input and key.
- Parameters:
-
| input | Pointer to the input stream. |
| input_len | Length of input stream in bytes. |
| key | Pointer to the authentication key. |
| key_len | Length of the authentication key. |
| digest | Buffer to be filled with HMAC MD5 digest. |
Finish the message and return the digest.
- Parameters:
-
| hctx | HMAC-MD5 context. |
| digest | Buffer to be filled with HMAC MD5 digest. |
Initiate HMAC-MD5 context for incremental hashing.
- Parameters:
-
| hctx | HMAC-MD5 context. |
| key | Pointer to the authentication key. |
| key_len | Length of the authentication key. |
Append string to the message.
- Parameters:
-
| hctx | HMAC-MD5 context. |
| input | Pointer to the input stream. |
| input_len | Length of input stream in bytes. |