summaryrefslogtreecommitdiff
path: root/source4/lib/crypto/md4.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-05 17:44:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:15 -0500
commitc71c86c52458eefae8a34774ec186c2837f473af (patch)
treecaeda5cdb47d5f6fefb4eabb50e66187823e5ac4 /source4/lib/crypto/md4.c
parentaf30a32b6924b0f2b701186e435defbca2ebd1aa (diff)
downloadsamba-c71c86c52458eefae8a34774ec186c2837f473af.tar.gz
samba-c71c86c52458eefae8a34774ec186c2837f473af.tar.bz2
samba-c71c86c52458eefae8a34774ec186c2837f473af.zip
r13842: Make some more functions public.
(This used to be commit aac1b99b362993352d80692afa55c38fc851c016)
Diffstat (limited to 'source4/lib/crypto/md4.c')
-rw-r--r--source4/lib/crypto/md4.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/source4/lib/crypto/md4.c b/source4/lib/crypto/md4.c
index 98fcabf224..5b57c57dbb 100644
--- a/source4/lib/crypto/md4.c
+++ b/source4/lib/crypto/md4.c
@@ -124,8 +124,10 @@ static void copy4(uint8_t *out, uint32_t x)
out[3] = (x>>24)&0xFF;
}
-/* produce a md4 message digest from data of length n bytes */
-void mdfour(uint8_t *out, const uint8_t *in, int n)
+/**
+ * produce a md4 message digest from data of length n bytes
+ */
+_PUBLIC_ void mdfour(uint8_t *out, const uint8_t *in, int n)
{
uint8_t buf[128];
uint32_t M[16];