FFmpeg
|
Files | |
file | md5.h |
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 |
MD5 hash function implementation.
struct AVMD5* av_md5_alloc | ( | void | ) |
Allocate an AVMD5 context.
Definition at line 48 of file md5.c.
Referenced by av_hash_alloc(), av_hmac_alloc(), do_adobe_auth(), do_llnw_auth(), flac_encode_init(), hevc_init_context(), main(), make_digest_auth(), and md5_open().
void av_md5_init | ( | struct AVMD5 * | ctx | ) |
Initialize MD5 hashing.
ctx | pointer to the function context (of size av_md5_size) |
Definition at line 143 of file md5.c.
Referenced by av_hash_init(), av_hmac_alloc(), av_md5_sum(), do_adobe_auth(), do_llnw_auth(), flac_encode_init(), init_out(), make_digest_auth(), md5_open(), process_output(), and verify_md5().
Update hash value.
ctx | hash function context |
src | input data to update hash with |
len | input data length |
Definition at line 154 of file md5.c.
Referenced by av_hash_update(), av_hmac_alloc(), av_md5_final(), av_md5_sum(), do_adobe_auth(), do_llnw_auth(), io_write(), md5_write(), update_md5_strings(), update_md5_sum(), and verify_md5().
Finish hashing and output digest value.
ctx | hash function context |
dst | buffer where output digest value is stored |
Definition at line 192 of file md5.c.
Referenced by av_hash_final(), av_hmac_alloc(), av_md5_sum(), close_out(), do_adobe_auth(), do_llnw_auth(), flac_encode_frame(), make_digest_auth(), md5_close(), and verify_md5().
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 |
Definition at line 208 of file md5.c.
Referenced by av_lfg_init(), ff_rdt_calc_response_and_checksum(), main(), process_output(), and run_lavu_md5().