![]() |
libgpac
Documentation of the core library of GPAC
|
#include <gpac/tools.h>
Include dependency graph for md5.c:Data Structures | |
| struct | MD5Context |
Macros | |
| #define | A 0x67452301 |
| #define | B 0xefcdab89 |
| #define | C 0x98badcfe |
| #define | D 0x10325476 |
| #define | F(X, Y, Z) ((X & Y) | (~X & Z)) |
| #define | G(X, Y, Z) ((X & Z) | (Y & ~Z)) |
| #define | H(X, Y, Z) (X ^ Y ^ Z) |
| #define | I(X, Y, Z) (Y ^ (X | ~Z)) |
| #define | GF_MD5_DIGEST_SIZE 16 |
Functions | |
| static void | md5Step (u32 *buffer, u32 *input) |
| u32 | rotateLeft (u32 x, u32 n) |
| void | md5Init (MD5Context *ctx) |
| void | md5Update (MD5Context *ctx, u8 *input_buffer, size_t input_len) |
| void | md5Finalize (MD5Context *ctx) |
| GF_EXPORT void | gf_md5_csum (const void *data, u32 len, u8 output[GF_MD5_DIGEST_SIZE]) |
Variables | |
| static u32 | S [] |
| static u32 | K [] |
| static u8 | PADDING [] |
| #define A 0x67452301 |
| #define B 0xefcdab89 |
| #define C 0x98badcfe |
| #define D 0x10325476 |
| #define F | ( | X, | |
| Y, | |||
| Z | |||
| ) | ((X & Y) | (~X & Z)) |
| #define G | ( | X, | |
| Y, | |||
| Z | |||
| ) | ((X & Z) | (Y & ~Z)) |
| #define H | ( | X, | |
| Y, | |||
| Z | |||
| ) | (X ^ Y ^ Z) |
| #define I | ( | X, | |
| Y, | |||
| Z | |||
| ) | (Y ^ (X | ~Z)) |
| #define GF_MD5_DIGEST_SIZE 16 |
Here is the call graph for this function:
Here is the caller graph for this function:| void md5Init | ( | MD5Context * | ctx | ) |
Here is the caller graph for this function:| void md5Update | ( | MD5Context * | ctx, |
| u8 * | input_buffer, | ||
| size_t | input_len | ||
| ) |
Here is the call graph for this function:
Here is the caller graph for this function:| void md5Finalize | ( | MD5Context * | ctx | ) |
Here is the call graph for this function:
Here is the caller graph for this function:gets MD5 of input buffer
| buf | input buffer to hash |
| buflen | size of input buffer in bytes |
| digest | buffer to store message digest |
Here is the call graph for this function:
Here is the caller graph for this function:
|
static |
|
static |
|
static |