FFmpeg
2.8.5
|
Functions | |
struct AVMD5 * | av_md5_alloc (void) |
Allocate an AVMD5 context. More... | |
void | av_md5_init (struct AVMD5 *ctx) |
Initialize MD5 hashing. More... | |
void | av_md5_update (struct AVMD5 *ctx, const uint8_t *src, int len) |
Update hash value. More... | |
void | av_md5_final (struct AVMD5 *ctx, uint8_t *dst) |
Finish hashing and output digest value. More... | |
void | av_md5_sum (uint8_t *dst, const uint8_t *src, const int len) |
Hash an array of data. More... | |
Variables | |
const int | av_md5_size |
struct AVMD5* av_md5_alloc | ( | void | ) |
void av_md5_init | ( | struct AVMD5 * | ctx | ) |
Initialize MD5 hashing.
ctx | pointer to the function context (of size av_md5_size) |
Referenced by process_output().
void av_md5_update | ( | struct AVMD5 * | ctx, |
const uint8_t * | src, | ||
int | len | ||
) |
Update hash value.
ctx | hash function context |
src | input data to update hash with |
len | input data length |
void av_md5_final | ( | struct AVMD5 * | ctx, |
uint8_t * | dst | ||
) |
Finish hashing and output digest value.
ctx | hash function context |
dst | buffer where output digest value is stored |
void av_md5_sum | ( | uint8_t * | dst, |
const uint8_t * | src, | ||
const int | len | ||
) |
Hash an array of data.
dst | The output buffer to write the digest into |
src | The data to hash |
len | The length of the data, in bytes |
Referenced by process_output().
const int av_md5_size |