#include <string.h>#include <stdio.h>#include "md5.h"

Go to the source code of this file.
Defines | |
| #define | _CRT_SECURE_NO_DEPRECATE 1 |
| #define | GET_UINT32_LE(n, b, i) |
| #define | PUT_UINT32_LE(n, b, i) |
| #define | S(x, n) ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) |
| #define | P(a, b, c, d, k, s, t) |
| #define | F(x, y, z) (z ^ (x & (y ^ z))) |
| #define | F(x, y, z) (y ^ (z & (x ^ y))) |
| #define | F(x, y, z) (x ^ y ^ z) |
| #define | F(x, y, z) (y ^ (x | ~z)) |
Functions | |
| void | md5 (unsigned char *input, int ilen, unsigned char *output) |
| int | md5_file (const char *path, unsigned char *output) |
| #define F | ( | x, | |||
| y, | |||||
| z | ) | (y ^ (x | ~z)) |
| #define F | ( | x, | |||
| y, | |||||
| z | ) | (x ^ y ^ z) |
| #define F | ( | x, | |||
| y, | |||||
| z | ) | (y ^ (z & (x ^ y))) |
| #define F | ( | x, | |||
| y, | |||||
| z | ) | (z ^ (x & (y ^ z))) |
| #define GET_UINT32_LE | ( | n, | |||
| b, | |||||
| i | ) |
| #define PUT_UINT32_LE | ( | n, | |||
| b, | |||||
| i | ) |
| #define S | ( | x, | |||
| n | ) | ((x << n) | ((x & 0xFFFFFFFF) >> (32 - n))) |
| void md5 | ( | unsigned char * | input, | |
| int | ilen, | |||
| unsigned char * | output | |||
| ) |
| int md5_file | ( | const char * | path, | |
| unsigned char * | output | |||
| ) |
Definition at line 307 of file md5.c.
Referenced by alpm_get_md5sum().

1.5.4