ftp.nice.ch/pub/next/unix/security/pgp.2.6.2s.s.tar.gz#/pgp262s/pgp262si/src/mdfile.h

This is mdfile.h in view mode; [Download] [Up]

/*	mdfile.h - C headers for PGP MD5 Message digest routines.
	PGP 1.0 used MD4, now we use MD5.
*/

#include "md5.h"	/* for MD5 message digest stuff */

/* Prototypes for MD5 routines */

/* Computes and returns the message digest from file
   position,longcount bytes */

int MDfile0_len(struct MD5Context *mdContext, FILE *f, word32 longcount);

/* Computes the message digest for a specified file */
int MDfile(struct MD5Context *mdContext,char *filename);

/* Used to finish the message digest, including extra material. */
void MD_addbuffer (struct MD5Context *mdContext, byte *buf,
		   int buflen, byte digest[16]);

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.