Searched refs:md5ctx (Results 1 – 2 of 2) sorted by relevance
/third_party/ffmpeg/libavformat/ |
D | httpauth.c | 122 static void update_md5_strings(struct AVMD5 *md5ctx, ...) in update_md5_strings() argument 126 va_start(vl, md5ctx); in update_md5_strings() 131 av_md5_update(md5ctx, str, strlen(str)); in update_md5_strings() 148 struct AVMD5 *md5ctx; in make_digest_auth() local 161 md5ctx = av_md5_alloc(); in make_digest_auth() 162 if (!md5ctx) in make_digest_auth() 165 av_md5_init(md5ctx); in make_digest_auth() 166 update_md5_strings(md5ctx, username, ":", state->realm, ":", password, NULL); in make_digest_auth() 167 av_md5_final(md5ctx, hash); in make_digest_auth() 173 av_md5_init(md5ctx); in make_digest_auth() [all …]
|
/third_party/ffmpeg/libavcodec/ |
D | flacenc.c | 121 struct AVMD5 *md5ctx; member 420 s->md5ctx = av_md5_alloc(); in flac_encode_init() 421 if (!s->md5ctx) in flac_encode_init() 423 av_md5_init(s->md5ctx); in flac_encode_init() 1353 av_md5_update(s->md5ctx, buf, buf_size); in update_md5_sum() 1370 av_md5_final(s->md5ctx, s->md5sum); 1454 av_freep(&s->md5ctx);
|