~ubuntu-branches/ubuntu/maverick/gnome-terminal/maverick-proposed

« back to all changes in this revision

Viewing changes to src/skey/md5.h

Tags: upstream-2.12.0
ImportĀ upstreamĀ versionĀ 2.12.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef MD5_H
 
2
#define MD5_H
 
3
 
 
4
#include <glib.h>
 
5
 
 
6
typedef struct {
 
7
        guint32 buf[4];
 
8
        guint32 bits[2];
 
9
        unsigned char in[64];
 
10
} MD5_CTX;
 
11
 
 
12
void MD5Transform(guint32 buf[4], guint32 const in[16]);
 
13
void MD5Init(MD5_CTX *context);
 
14
void MD5Update(MD5_CTX *context, unsigned char const *buf, unsigned len);
 
15
void MD5Final(unsigned char *digest, MD5_CTX *context);
 
16
int  MD5Keycrunch(char *result, const char *seed, const char *passhrase);
 
17
void MD5SKey(char *x);
 
18
 
 
19
 
 
20
#endif /* !MD5_H */