summaryrefslogtreecommitdiffstats
path: root/knetworkmanager-0.8/src/md5.h
diff options
context:
space:
mode:
Diffstat (limited to 'knetworkmanager-0.8/src/md5.h')
-rw-r--r--knetworkmanager-0.8/src/md5.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/knetworkmanager-0.8/src/md5.h b/knetworkmanager-0.8/src/md5.h
new file mode 100644
index 0000000..f3fd5be
--- /dev/null
+++ b/knetworkmanager-0.8/src/md5.h
@@ -0,0 +1,22 @@
+#ifndef GNOME_KEYRING_MD5_H
+#define GNOME_KEYRING_MD5_H
+
+#include <glib.h>
+
+struct GnomeKeyringMD5Context {
+ guint32 buf[4];
+ guint32 bits[2];
+ unsigned char in[64];
+};
+
+char *gnome_keyring_md5_digest_to_ascii (unsigned char digest[16]);
+void gnome_keyring_md5_string (const char *string,
+ unsigned char digest[16]);
+void gnome_keyring_md5_init (struct GnomeKeyringMD5Context *ctx);
+void gnome_keyring_md5_update (struct GnomeKeyringMD5Context *ctx,
+ unsigned char const *buf,
+ unsigned len);
+void gnome_keyring_md5_final (unsigned char digest[16],
+ struct GnomeKeyringMD5Context *ctx);
+
+#endif /* GNOME_KEYRING_MD5_H */