summaryrefslogtreecommitdiff
path: root/lib/md2.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/md2.h')
-rw-r--r--lib/md2.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/lib/md2.h b/lib/md2.h
index 078756a007..f85799590a 100644
--- a/lib/md2.h
+++ b/lib/md2.h
@@ -66,11 +66,6 @@ extern void *md2_finish_ctx (struct md2_ctx *ctx, void *restrict resbuf);
extern void *md2_read_ctx (const struct md2_ctx *ctx, void *restrict resbuf);
-/* Compute MD2 message digest for bytes read from STREAM. The
- resulting message digest number will be written into the 16 bytes
- beginning at RESBLOCK. */
-extern int md2_stream (FILE *stream, void *resblock);
-
/* Compute MD2 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
@@ -78,6 +73,13 @@ extern int md2_stream (FILE *stream, void *resblock);
extern void *md2_buffer (const char *buffer, size_t len,
void *restrict resblock);
+
+/* Compute MD2 message digest for bytes read from STREAM. The
+ resulting message digest number will be written into the 16 bytes
+ beginning at RESBLOCK. */
+extern int md2_stream (FILE *stream, void *resblock);
+
+
# ifdef __cplusplus
}
# endif