aboutsummaryrefslogtreecommitdiffstats
path: root/camel/md5-utils.c
diff options
context:
space:
mode:
authorbertrand <Bertrand.Guiheneuf@aful.org>1999-09-07 05:58:39 +0800
committerBertrand Guiheneuf <bertrand@src.gnome.org>1999-09-07 05:58:39 +0800
commitedf81a5e242804b5bf56219ecfc6f79556fcf8a7 (patch)
treeb7e28a6ee198824d591f1ebc9bee4325d2a41c64 /camel/md5-utils.c
parent8e70e42b1e00c9b04d1cfc24ccda38a7ff6f42a0 (diff)
downloadgsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar.gz
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar.bz2
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar.lz
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar.xz
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.tar.zst
gsoc2013-evolution-edf81a5e242804b5bf56219ecfc6f79556fcf8a7.zip
raw routines are declared public now. Md5 use has to be versatile.
1999-09-07 bertrand <Bertrand.Guiheneuf@aful.org> * camel/md5-utils.h : raw routines are declared public now. Md5 use has to be versatile. * camel/providers/MH/mh-uid.c (mh_uid_get_for_file): new func. Returns an UID for an MH message. svn path=/trunk/; revision=1187
Diffstat (limited to 'camel/md5-utils.c')
-rw-r--r--camel/md5-utils.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/md5-utils.c b/camel/md5-utils.c
index aac720e8e9..30a750b12b 100644
--- a/camel/md5-utils.c
+++ b/camel/md5-utils.c
@@ -53,7 +53,7 @@ _byte_reverse (guchar *buf, guint32 longs)
* Start MD5 accumulation. Set bit count to 0 and buffer to mysterious
* initialization constants.
*/
-static void
+void
md5_init (MD5Context *ctx)
{
ctx->buf[0] = 0x67452301;
@@ -75,7 +75,7 @@ md5_init (MD5Context *ctx)
* Update context to reflect the concatenation of another buffer full
* of bytes.
*/
-static void
+void
md5_update (MD5Context *ctx, const guchar *buf, guint32 len)
{
guint32 t;
@@ -130,7 +130,7 @@ md5_update (MD5Context *ctx, const guchar *buf, guint32 len)
* Final wrapup - pad to 64-byte boundary with the bit pattern
* 1 0* (64-bit count of bits processed, MSB-first)
*/
-static void
+void
md5_final (guchar digest[16], MD5Context *ctx)
{
guint32 count;