#include <sys/types.h>
Go to the source code of this file.
Data Structures | |
struct | MD5Context |
MD5 private data. More... | |
Typedefs | |
typedef unsigned int | uint32 |
typedef MD5Context | MD5_CTX |
Functions | |
void | rpmMD5Init (struct MD5Context *ctx, int brokenEndian) |
Initialize MD5 hash. More... | |
void | rpmMD5Update (struct MD5Context *ctx, unsigned char const *buf, unsigned len) |
Update context to reflect the concatenation of another buffer full. More... | |
void | rpmMD5Final (unsigned char digest[16], struct MD5Context *ctx) |
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.
|
|
|
Definition at line 11 of file md5.h. Referenced by rpmMD5Init. |
|
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 128 of file md5.c. Referenced by domd5. |
|
Initialize MD5 hash. Set bit count to 0 and buffer to mysterious initialization constants.
Definition at line 52 of file md5.c. References uint32. 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 191 of file md5.c. Referenced by rpmMD5Final, and rpmMD5Update. |
|
Update context to reflect the concatenation of another buffer full. of bytes.
Definition at line 77 of file md5.c. Referenced by domd5. |