summaryrefslogtreecommitdiff
path: root/source4/lib/crypto
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-03-05 17:15:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:52:14 -0500
commitaf30a32b6924b0f2b701186e435defbca2ebd1aa (patch)
tree8d11dd6ca7ede55e385670f1297045d78fc92e5a /source4/lib/crypto
parent5d0aa16dfcf3047a52d3dd7e12ffb704a9725e83 (diff)
downloadsamba-af30a32b6924b0f2b701186e435defbca2ebd1aa.tar.gz
samba-af30a32b6924b0f2b701186e435defbca2ebd1aa.tar.bz2
samba-af30a32b6924b0f2b701186e435defbca2ebd1aa.zip
r13840: Mark some functions as public.
(This used to be commit 9a188eb1f48a50d92a67a4fc2b3899b90074059a)
Diffstat (limited to 'source4/lib/crypto')
-rw-r--r--source4/lib/crypto/md5.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/crypto/md5.c b/source4/lib/crypto/md5.c
index f59b35a0b8..b607e93842 100644
--- a/source4/lib/crypto/md5.c
+++ b/source4/lib/crypto/md5.c
@@ -43,7 +43,7 @@ static void byteReverse(uint8_t *buf, uint_t longs)
* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
* initialization constants.
*/
-void MD5Init(struct MD5Context *ctx)
+_PUBLIC_ void MD5Init(struct MD5Context *ctx)
{
ctx->buf[0] = 0x67452301;
ctx->buf[1] = 0xefcdab89;
@@ -58,7 +58,7 @@ void MD5Init(struct MD5Context *ctx)
* Update context to reflect the concatenation of another buffer full
* of bytes.
*/
-void MD5Update(struct MD5Context *ctx, const uint8_t *buf, uint_t len)
+_PUBLIC_ void MD5Update(struct MD5Context *ctx, const uint8_t *buf, uint_t len)
{
register uint32_t t;
@@ -106,7 +106,7 @@ void MD5Update(struct MD5Context *ctx, const uint8_t *buf, uint_t len)
* Final wrapup - pad to 64-byte boundary with the bit pattern
* 1 0* (64-bit count of bits processed, MSB-first)
*/
-void MD5Final(uint8_t digest[16], struct MD5Context *ctx)
+_PUBLIC_ void MD5Final(uint8_t digest[16], struct MD5Context *ctx)
{
uint_t count;
uint8_t *p;