#include <sys/types.h>
Go to the source code of this file.
Compounds | |
struct | MD5Context |
MD5 private data. More... | |
Typedefs | |
typedef unsigned int | uint32 |
typedef struct MD5Context | MD5_CTX |
Functions | |
void | rpmMD5Init (struct MD5Context *context, int brokenEndian) |
Initialize MD5 hash. More... | |
void | rpmMD5Update (struct MD5Context *context, unsigned char const *buf, unsigned len) |
Update context to reflect the concatenation of another buffer full of bytes. More... | |
void | rpmMD5Final (unsigned char digest[16], struct MD5Context *context) |
Return MD5 digest, and reset context. More... | |
void | rpmMD5Transform (uint32 buf[4], uint32 const in[16]) |
The core of the MD5 algorithm. More... | |
int | mdfile (const char *fn, unsigned char *digest) |
Return MD5 sum of file as ASCII string. More... | |
int | mdbinfile (const char *fn, unsigned char *bindigest) |
Return MD5 sum of file as binary data. More... | |
int | mdfileBroken (const char *fn, unsigned char *digest) |
Return (broken!) MD5 sum of file as ASCII string. More... | |
int | mdbinfileBroken (const char *fn, unsigned char *bindigest) |
Return (broken!) MD5 sum of file as binary data. More... |
Definition in file md5.h.
|
|
|
|
|
Return MD5 sum of file as binary data.
|
|
Return (broken!) MD5 sum of file as binary data.
|
|
Return MD5 sum of file as ASCII string.
|
|
Return (broken!) MD5 sum of file as ASCII string.
|
|
Return MD5 digest, and reset context.
Definition at line 125 of file md5.c. Referenced by domd5(). |
|
Initialize MD5 hash. Set bit count to 0 and buffer to mysterious initialization constants.
Definition at line 50 of file md5.c. Referenced by domd5(). |
|
The core of the MD5 algorithm. This alters an existing MD5 hash to reflect the addition of 16 longwords of new data.
Definition at line 186 of file md5.c. Referenced by rpmMD5Final(), and rpmMD5Update(). |
|
Update context to reflect the concatenation of another buffer full of bytes.
Definition at line 75 of file md5.c. Referenced by domd5(). |