aboutsummaryrefslogtreecommitdiff
path: root/src/microhttpd/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/microhttpd/md5.h')
-rw-r--r--src/microhttpd/md5.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/microhttpd/md5.h b/src/microhttpd/md5.h
index 0c1acab1..3c1d1c1c 100644
--- a/src/microhttpd/md5.h
+++ b/src/microhttpd/md5.h
@@ -10,8 +10,8 @@
10 * with every copy. 10 * with every copy.
11 * 11 *
12 * To compute the message digest of a chunk of bytes, declare an 12 * To compute the message digest of a chunk of bytes, declare an
13 * MD5Context structure, pass it to MD5Init, call MD5Update as 13 * MD5Context structure, pass it to MHD_MD5Init, call MHD_MD5Update as
14 * needed on buffers full of bytes, and then call MD5Final, which 14 * needed on buffers full of bytes, and then call MHD_MD5Final, which
15 * will fill a supplied 16-byte array with the digest. 15 * will fill a supplied 16-byte array with the digest.
16 */ 16 */
17 17
@@ -41,7 +41,7 @@ struct MD5Context
41 * @param ctx_ must be a `struct MD5Context *` 41 * @param ctx_ must be a `struct MD5Context *`
42 */ 42 */
43void 43void
44MD5Init (void *ctx_); 44MHD_MD5Init (void *ctx_);
45 45
46 46
47/** 47/**
@@ -51,7 +51,7 @@ MD5Init (void *ctx_);
51 * @param ctx_ must be a `struct MD5Context *` 51 * @param ctx_ must be a `struct MD5Context *`
52 */ 52 */
53void 53void
54MD5Update (void *ctx_, 54MHD_MD5Update (void *ctx_,
55 const uint8_t *input, 55 const uint8_t *input,
56 size_t len); 56 size_t len);
57 57
@@ -62,7 +62,7 @@ MD5Update (void *ctx_,
62 * @param ctx_ must be a `struct MD5Context *` 62 * @param ctx_ must be a `struct MD5Context *`
63 */ 63 */
64void 64void
65MD5Final (void *ctx_, 65MHD_MD5Final (void *ctx_,
66 uint8_t digest[MD5_DIGEST_SIZE]); 66 uint8_t digest[MD5_DIGEST_SIZE]);
67 67
68 68