MD5 hashing. More...
#include "stdinc.h"#include "md5.h"

Go to the source code of this file.
Defines | |
| #define | md5_f(x, y, z) (z ^ (x & (y ^ z))) |
| First of the four MD5 calculation steps. | |
| #define | md5_g(x, y, z) (y ^ (z & (x ^ y))) |
| Second of the four MD5 calculation steps. | |
| #define | md5_h(x, y, z) (x ^ y ^ z) |
| Third of the four MD5 calculation steps. | |
| #define | md5_i(x, y, z) (y ^ (x | ~z)) |
| Fourth of the four MD5 calculation steps. | |
| #define | md5_step(f, w, x, y, z, d, s) |
| Perform a single MD5 calculation step, including the rotation and addition steps. | |
Functions | |
| static void | md5_encode (uint32_t dst[4], const uint32_t src[4]) |
| Encode data from native byte ordering. | |
| static void | md5_decode (uint32_t buf[16]) |
| Decode data to native byte ordering. | |
| static void | md5_transform (uint32_t state[4], const uint32_t buf[16]) |
| Hash a 64 byte chunk and add it to the old hash value. | |
| void | md5_update (struct md5_context *m, const void *buf, size_t len) |
| Update the hash value by appending a buffer. | |
| void | md5_final (struct md5_context *m, unsigned char out[16]) |
| Finalize the hash value and return its hash value. | |
MD5 hashing.
Definition in file md5.c.
1.6.3