|
|
1.1.1.6 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:
1.1.1.7 ! root 9: /* Computes and returns the message digest from file
! 10: position,longcount bytes */
! 11:
1.1.1.6 root 12: int MDfile0_len(struct MD5Context *mdContext, FILE *f, word32 longcount);
13:
14: /* Computes the message digest for a specified file */
15: int MDfile(struct MD5Context *mdContext,char *filename);
16:
17: /* Used to finish the message digest, including extra material. */
1.1.1.7 ! root 18: void MD_addbuffer (struct MD5Context *mdContext, byte *buf,
! 19: int buflen, byte digest[16]);
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.