version 1.3, 1996/09/30 03:55:48 |
version 1.4, 1996/11/24 02:25:57 |
|
|
/* MD5 context. */ |
/* MD5 context. */ |
typedef struct MD5Context { |
typedef struct MD5Context { |
u_int32_t state[4]; /* state (ABCD) */ |
u_int32_t state[4]; /* state (ABCD) */ |
u_int32_t count[2]; /* number of bits, modulo 2^64 (lsb first) */ |
u_int64_t count; /* number of bits, modulo 2^64 */ |
unsigned char buffer[64]; /* input buffer */ |
unsigned char buffer[64]; /* input buffer */ |
} MD5_CTX; |
} MD5_CTX; |
|
|
void MD5Init __P((MD5_CTX *)); |
void MD5Init __P((MD5_CTX *)); |
void MD5Update __P((MD5_CTX *, const unsigned char *, unsigned int)); |
void MD5Update __P((MD5_CTX *, const unsigned char *, size_t)); |
void MD5Final __P((unsigned char [16], MD5_CTX *)); |
void MD5Final __P((unsigned char [16], MD5_CTX *)); |
char * MD5End __P((MD5_CTX *, char *)); |
char * MD5End __P((MD5_CTX *, char *)); |
char * MD5File __P((char *, char *)); |
char * MD5File __P((char *, char *)); |
char * MD5Data __P((const unsigned char *, unsigned int, char *)); |
char * MD5Data __P((const unsigned char *, size_t, char *)); |
|
|
#endif /* _MD5_H_ */ |
#endif /* _MD5_H_ */ |