summaryrefslogtreecommitdiff
path: root/lib/md4.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md4.h')
-rw-r--r--lib/md4.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/md4.h b/lib/md4.h
index 4ece10164e..1f5e426c1c 100644
--- a/lib/md4.h
+++ b/lib/md4.h
@@ -72,11 +72,6 @@ extern void *md4_finish_ctx (struct md4_ctx *ctx, void *restrict resbuf);
extern void *md4_read_ctx (const struct md4_ctx *ctx, void *restrict resbuf);
-/* Compute MD4 message digest for bytes read from STREAM. The
- resulting message digest number will be written into the 16 bytes
- beginning at RESBLOCK. */
-extern int md4_stream (FILE * stream, void *resblock);
-
/* Compute MD4 message digest for LEN bytes beginning at BUFFER. The
result is always in little endian byte order, so that a byte-wise
output yields to the wanted ASCII representation of the message
@@ -84,6 +79,13 @@ extern int md4_stream (FILE * stream, void *resblock);
extern void *md4_buffer (const char *buffer, size_t len,
void *restrict resblock);
+
+/* Compute MD4 message digest for bytes read from STREAM. The
+ resulting message digest number will be written into the 16 bytes
+ beginning at RESBLOCK. */
+extern int md4_stream (FILE * stream, void *resblock);
+
+
# ifdef __cplusplus
}
# endif