/usr/include/pi-md5.h is in libpisock-dev 0.12.5-dfsg-2build2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 | /* include/pi-md5.h. Generated from pi-md5.h.in by configure. */
/*
* $Id: pi-md5.h.in,v 1.1 2008/11/06 01:14:13 judd Exp $
*
* pi-md5.h: Header file for Colin Plumb's MD5 implementation.
* Modified by Ian Jackson so as not to use Colin Plumb's
* 'usuals.h'.
*
* Originally intended to be used for Palm password support
*
* This file is in the public domain.
*/
#ifndef MD5_H
#define MD5_H
#define HAVE_INTTYPES_H 1
#define HAVE_STDINT_H 1
#if HAVE_INTTYPES_H
#include <inttypes.h>
#endif
#if HAVE_STDINT_H
#include <stdint.h>
#endif
#ifdef HAVE_INTTYPES_H || HAVE_STDINT_H
#define UINT8 uint8_t
#define UINT32 uint32_t
#else
#define UINT8 unsigned char
#define UINT32 unsigned int
#endif
struct MD5Context {
UINT32 buf[4];
UINT32 bytes[2];
UINT32 in[16];
};
void MD5Init(struct MD5Context *context);
void MD5Update(struct MD5Context *context, UINT8 const *buf, unsigned len);
void MD5Final(unsigned char digest[16], struct MD5Context *context);
void MD5Transform(UINT32 buf[4], UINT32 const in[16]);
void byteSwap(UINT32 * buf, unsigned words);
#endif /* !MD5_H */
|