|
|
1.1 root 1: /* mdfile.h - C headers for PGP MD5 Message digest routines.
2: PGP 1.0 used MD4, now we use MD5.
3: */
4:
5: #include "md5.h" /* for MD5 message digest stuff */
6:
7: /* Prototypes for MD5 routines */
8:
9: /* Computes and returns the message digest from file position,longcount bytes */
10: int MDfile0_len(MD5_CTX *mdContext, FILE *f, word32 longcount);
11:
12: /* Computes the message digest for a file from current position to EOF */
13: int MDfile0(MD5_CTX *mdContext,FILE *inFile);
14:
15: /* Computes the message digest for a specified file */
16: int MDfile(MD5_CTX *mdContext,char *filename);
17:
18: /* Finishes the message digest, including extra material */
19: void MD_addbuffer (MD5_CTX *mdContext, byte *buf, int buflen, boolean finish);
20:
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.