MD5 hash function implementation.
More...
|
| file | md5.h |
| | Public header for MD5 hash function implementation.
|
| |
|
| struct AVMD5 * | av_md5_alloc (void) |
| | Allocate an AVMD5 context.
|
| |
| void | av_md5_init (struct AVMD5 *ctx) |
| | Initialize MD5 hashing.
|
| |
| void | av_md5_update (struct AVMD5 *ctx, const uint8_t *src, size_t len) |
| | Update hash value.
|
| |
| void | av_md5_final (struct AVMD5 *ctx, uint8_t *dst) |
| | Finish hashing and output digest value.
|
| |
| void | av_md5_sum (uint8_t *dst, const uint8_t *src, size_t len) |
| | Hash an array of data.
|
| |
MD5 hash function implementation.
◆ av_md5_alloc()
| struct AVMD5 * av_md5_alloc |
( |
void |
| ) |
|
◆ av_md5_init()
| void av_md5_init |
( |
struct AVMD5 * |
ctx | ) |
|
◆ av_md5_update()
| void av_md5_update |
( |
struct AVMD5 * |
ctx, |
|
|
const uint8_t * |
src, |
|
|
size_t |
len |
|
) |
| |
Update hash value.
- Parameters
-
| ctx | hash function context |
| src | input data to update hash with |
| len | input data length |
◆ av_md5_final()
| void av_md5_final |
( |
struct AVMD5 * |
ctx, |
|
|
uint8_t * |
dst |
|
) |
| |
Finish hashing and output digest value.
- Parameters
-
| ctx | hash function context |
| dst | buffer where output digest value is stored |
◆ av_md5_sum()
| void av_md5_sum |
( |
uint8_t * |
dst, |
|
|
const uint8_t * |
src, |
|
|
size_t |
len |
|
) |
| |
Hash an array of data.
- Parameters
-
| dst | The output buffer to write the digest into |
| src | The data to hash |
| len | The length of the data, in bytes |
- Examples
- filter_audio.c.
Referenced by process_output().
◆ av_md5_size