RetroArch
|
#include <stdlib.h>
#include <string.h>
#include "include/private/md5.h"
#include "include/share/alloc.h"
#include "include/share/endswap.h"
Macros | |
#define | F1(x, y, z) (z ^ (x & (y ^ z))) |
#define | F2(x, y, z) F1(z, x, y) |
#define | F3(x, y, z) (x ^ y ^ z) |
#define | F4(x, y, z) (y ^ (x | ~z)) |
#define | MD5STEP(f, w, x, y, z, in, s) (w += f(x,y,z) + in, w = (w<<s | w>>(32-s)) + x) |
#define | byteSwap(buf, words) |
#define | byteSwapX16(buf) |
#define | BYTES_CHANNEL_SELECTOR(bytes, channels) (bytes * 100 + channels) |
Functions | |
static void | FLAC__MD5Transform (FLAC__uint32 buf[4], FLAC__uint32 const in[16]) |
static void | FLAC__MD5Update (FLAC__MD5Context *ctx, FLAC__byte const *buf, unsigned len) |
void | FLAC__MD5Init (FLAC__MD5Context *ctx) |
void | FLAC__MD5Final (FLAC__byte digest[16], FLAC__MD5Context *ctx) |
static void | format_input_ (FLAC__multibyte *mbuf, const FLAC__int32 *const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) |
FLAC__bool | FLAC__MD5Accumulate (FLAC__MD5Context *ctx, const FLAC__int32 *const signal[], unsigned channels, unsigned samples, unsigned bytes_per_sample) |
#define BYTES_CHANNEL_SELECTOR | ( | bytes, | |
channels | |||
) | (bytes * 100 + channels) |
#define byteSwap | ( | buf, | |
words | |||
) |
#define byteSwapX16 | ( | buf | ) |
FLAC__bool FLAC__MD5Accumulate | ( | FLAC__MD5Context * | ctx, |
const FLAC__int32 *const | signal[], | ||
unsigned | channels, | ||
unsigned | samples, | ||
unsigned | bytes_per_sample | ||
) |
void FLAC__MD5Final | ( | FLAC__byte | digest[16], |
FLAC__MD5Context * | ctx | ||
) |
void FLAC__MD5Init | ( | FLAC__MD5Context * | ctx | ) |
|
static |
|
static |
|
static |