This module contains the implementation of HMAC: Keyed-Hashing for Message Authentication, as described in RFC 2104
◆ pj_hmac_md5()
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. |
◆ pj_hmac_md5_final()
Finish the message and return the digest.
- Parameters
-
hctx | HMAC-MD5 context. |
digest | Buffer to be filled with HMAC MD5 digest. |
References PJ_END_DECL.
◆ pj_hmac_md5_init()
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. |
◆ pj_hmac_md5_update()
Append string to the message.
- Parameters
-
hctx | HMAC-MD5 context. |
input | Pointer to the input stream. |
input_len | Length of input stream in bytes. |