VLC 4.0.0-dev
|
Macros | |
#define | rol(x, n) ( ((x) << (n)) | ((x) >> (32-(n))) ) |
#define | FF(b, c, d) (d ^ (b & (c ^ d))) |
#define | FG(b, c, d) FF (d, b, c) |
#define | FH(b, c, d) (b ^ c ^ d) |
#define | FI(b, c, d) (c ^ (b | ~d)) |
#define | OP(a, b, c, d, s, T) |
#define | OP(f, a, b, c, d, k, s, T) |
#define | X(a) do { *(u32*)p = (*hd).a ; p += 4; } while(0) |
Typedefs | |
typedef uint32_t | u32 |
typedef uint8_t | byte |
typedef struct md5_s | MD5_CONTEXT |
Functions | |
static void | md5_init (void *context) |
static void | transform (MD5_CONTEXT *ctx, const unsigned char *data) |
static void | md5_write (void *context, const void *inbuf_arg, size_t inlen) |
static void | md5_final (void *context) |
void | vlc_hash_md5_Init (vlc_hash_md5_t *ctx) |
Initialize MD5 context. | |
void | vlc_hash_md5_Update (vlc_hash_md5_t *ctx, const void *data, size_t length) |
Update MD5 hash computation with new data. | |
void | vlc_hash_md5_Finish (vlc_hash_md5_t *ctx, void *output, size_t size) |
Finish MD5 hash computation. | |
#define FF | ( | b, | |
c, | |||
d | |||
) | (d ^ (b & (c ^ d))) |
#define FG | ( | b, | |
c, | |||
d | |||
) | FF (d, b, c) |
#define FH | ( | b, | |
c, | |||
d | |||
) | (b ^ c ^ d) |
#define FI | ( | b, | |
c, | |||
d | |||
) | (c ^ (b | ~d)) |
#define OP | ( | a, | |
b, | |||
c, | |||
d, | |||
s, | |||
T | |||
) |
#define OP | ( | f, | |
a, | |||
b, | |||
c, | |||
d, | |||
k, | |||
s, | |||
T | |||
) |
#define rol | ( | x, | |
n | |||
) | ( ((x) << (n)) | ((x) >> (32-(n))) ) |
typedef uint8_t byte |
typedef struct md5_s MD5_CONTEXT |
typedef uint32_t u32 |
|
static |
References A, B, md5_write(), p, transform(), and X.
Referenced by vlc_hash_md5_Finish().
|
static |
Referenced by vlc_hash_md5_Init().
|
static |
References md5_write(), and transform().
Referenced by md5_final(), md5_write(), and vlc_hash_md5_Update().
|
static |
References A, B, FG, FH, FI, and OP.
Referenced by md5_final(), md5_write(), transform_GetBasicOps(), transform_Inverse(), video_format_TransformBy(), and video_format_TransformTo().