summaryrefslogtreecommitdiffstats
path: root/sys/kern/md5c.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1998-03-29 11:55:06 +0000
committerphk <phk@FreeBSD.org>1998-03-29 11:55:06 +0000
commit8620163d92d9006a7481c39968c970a00bfb7b4f (patch)
tree937bc67007acdbb2d708e09c0c2e620b66fd3b76 /sys/kern/md5c.c
parent1649ebee15c567ea4986b4226cf72495d63087bb (diff)
downloadFreeBSD-src-8620163d92d9006a7481c39968c970a00bfb7b4f.zip
FreeBSD-src-8620163d92d9006a7481c39968c970a00bfb7b4f.tar.gz
Export MD5Transform in md5.c and remove a private version in random_machdep.c
md5 is standard as a consequence of this.
Diffstat (limited to 'sys/kern/md5c.c')
-rw-r--r--sys/kern/md5c.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/sys/kern/md5c.c b/sys/kern/md5c.c
index c1fdc6d..ff2fd57 100644
--- a/sys/kern/md5c.c
+++ b/sys/kern/md5c.c
@@ -22,7 +22,7 @@
* These notices must be retained in any copies of any part of this
* documentation and/or software.
*
- * $Id: md5c.c,v 1.10 1997/10/21 13:28:36 phk Exp $
+ * $Id: md5c.c,v 1.11 1998/03/27 10:23:00 phk Exp $
*
* This code is the same as the code published by RSA Inc. It has been
* edited for clarity and style only.
@@ -38,7 +38,6 @@
#include <sys/md5.h>
-static void MD5Transform __P((u_int32_t [4], const unsigned char [64]));
#ifdef KERNEL
#define memset(x,y,z) bzero(x,z);
@@ -235,7 +234,7 @@ MD5Final (digest, context)
/* MD5 basic transformation. Transforms state based on block. */
-static void
+void
MD5Transform (state, block)
u_int32_t state[4];
const unsigned char block[64];
OpenPOWER on IntegriCloud