/third_party/python/Modules/ |
H A D | md5module.c | 125 static void md5_compress(struct md5_state *md5, const unsigned char *buf) in md5_compress() argument 129 assert(md5 != NULL); in md5_compress() 138 a = md5->state[0]; in md5_compress() 139 b = md5->state[1]; in md5_compress() 140 c = md5->state[2]; in md5_compress() 141 d = md5->state[3]; in md5_compress() 208 md5->state[0] = md5->state[0] + a; in md5_compress() 209 md5->state[1] = md5 in md5_compress() 220 md5_init(struct md5_state *md5) md5_init() argument 238 md5_process(struct md5_state *md5, const unsigned char *in, Py_ssize_t inlen) md5_process() argument 273 md5_done(struct md5_state *md5, unsigned char *out) md5_done() argument 339 MD5object *md5 = (MD5object *)PyObject_GC_New(MD5object, st->md5_type); newMD5object() local [all...] |
/third_party/skia/third_party/externals/microhttpd/src/microhttpd/ |
H A D | digestauth.c | 28 #include "md5.h" 90 * @param alg The hash algorithm used, can be "md5" or "md5-sess" 107 struct MD5Context md5; in digest_calc_ha1() local 110 MD5Init (&md5); in digest_calc_ha1() 111 MD5Update (&md5, username, strlen (username)); in digest_calc_ha1() 112 MD5Update (&md5, ":", 1); in digest_calc_ha1() 113 MD5Update (&md5, realm, strlen (realm)); in digest_calc_ha1() 114 MD5Update (&md5, ":", 1); in digest_calc_ha1() 115 MD5Update (&md5, passwor in digest_calc_ha1() 155 struct MD5Context md5; digest_calc_response() local 405 struct MD5Context md5; calculate_nonce() local [all...] |
/third_party/ffmpeg/libavformat/ |
H A D | md5proto.c | 23 #include "libavutil/md5.h" 32 struct AVMD5 *md5; member 42 c->md5 = av_md5_alloc(); in md5_open() 43 if (!c->md5) in md5_open() 45 av_md5_init(c->md5); in md5_open() 53 av_md5_update(c->md5, buf, size); in md5_write() 61 uint8_t md5[16], buf[2 * sizeof(md5) + 1]; in md5_close() local 65 av_md5_final(c->md5, md5); in md5_close() [all...] |
H A D | takdec.c | 111 uint8_t md5[16]; in tak_read_header() local 112 char md5_hex[2 * sizeof(md5) + 1]; in tak_read_header() 117 avio_read(pb, md5, 16); in tak_read_header() 124 ff_data_to_hex(md5_hex, md5, sizeof(md5), 1); in tak_read_header()
|
/third_party/ffmpeg/tests/fate/ |
H A D | adpcm.mak | 8 fate-adpcm-creative: CMD = md5 -i $(TARGET_SAMPLES)/creative/intro-partial.wav -f s16le 11 fate-adpcm-creative-8-2bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_2BIT.VOC -f s16le 14 fate-adpcm-creative-8-2.6bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_3BIT.VOC -f s16le 17 fate-adpcm-creative-8-4bit: CMD = md5 -i $(TARGET_SAMPLES)/creative/BBC_4BIT.VOC -f s16le 44 fate-adpcm-ima-apc: CMD = md5 -i $(TARGET_SAMPLES)/cryo-apc/cine007.APC -f s16le 47 fate-adpcm-ima-dk3: CMD = md5 -i $(TARGET_SAMPLES)/duck/sop-audio-only.avi -f s16le 50 fate-adpcm-ima-dk4: CMD = md5 -i $(TARGET_SAMPLES)/duck/salsa-audio-only.avi -f s16le 59 fate-adpcm-ima-iss: CMD = md5 -i $(TARGET_SAMPLES)/funcom-iss/0004010100.iss -f s16le 62 fate-adpcm-ima-oki: CMD = md5 -i $(TARGET_SAMPLES)/oki/test.wav -f s16le 65 fate-adpcm-ima-rad: CMD = md5 [all...] |
H A D | lossless-audio.mak | 2 fate-lossless-alac: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/inside.m4a -f s16le -af aresample 5 fate-lossless-meridianaudio: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.mlp -f s16le 8 fate-ralf: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.rmvb -vn -f s16le -af aresample 11 fate-lossless-shorten: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.shn -f s16le -af aresample 23 fate-lossless-wma: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/luckynight-partial.wma -f s16le -frames 209 -af aresample 24 fate-lossless-wma24-1: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/master_audio_2.0_24bit.wma -f s24le -af aresample 25 fate-lossless-wma24-2: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/Mega_Weird_Audio_Test_24bit.wma -f s24le -af aresample 26 fate-lossless-wma24-rawtile: CMD = md5 -i $(TARGET_SAMPLES)/lossless-audio/g2_24bit.wma -f s24le -af aresample
|
H A D | qt.mak | 11 fate-qt-alaw-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-alaw.mov -f s16le 14 fate-qt-alaw-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-alaw.mov -f s16le 17 fate-qt-ima4-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-ima4.mov -f s16le -af aresample 20 fate-qt-ima4-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-16-B-ima4.mov -f s16le -af aresample 23 fate-qt-mac3-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC3.mov -f s16le -af aresample 26 fate-qt-mac3-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC3.mov -f s16le -af aresample 29 fate-qt-mac6-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-8-MAC6.mov -f s16le -af aresample 32 fate-qt-mac6-stereo: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-2-8-MAC6.mov -f s16le -af aresample 35 fate-qt-ulaw-mono: CMD = md5 -i $(TARGET_SAMPLES)/qt-surge-suite/surge-1-16-B-ulaw.mov -f s16le 38 fate-qt-ulaw-stereo: CMD = md5 [all...] |
H A D | cover-art.mak | 2 fate-cover-art-ape: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/luckynight_cover.ape -an -c:v copy -f rawvideo 6 fate-cover-art-flac: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/cover_art.flac -an -c:v copy -f rawvideo 10 fate-cover-art-m4a: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/Owner-iTunes_9.0.3.15.m4a -an -c:v copy -f rawvideo 14 fate-cover-art-ogg: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/ogg_vorbiscomment_cover.opus -map 0:v -c:v copy -f rawvideo 18 fate-cover-art-wma: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/Californication_cover.wma -an -c:v copy -f rawvideo 22 fate-cover-art-wma-id3: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/wma_with_ID3_APIC_trimmed.wma -an -c:v copy -f rawvideo 26 fate-cover-art-wma-metadatalib: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/wma_with_metadata_library_object_tag_trimmed.wma -map 0:v -c:v copy -f rawvideo 30 fate-cover-art-wv: CMD = md5 -i $(TARGET_SAMPLES)/cover_art/luckynight_cover.wv -an -c:v copy -f rawvideo
|
/third_party/skia/tools/skqp/ |
H A D | download_model.py | 18 m = hashlib.md5() 26 def download(md5, path): 27 if not md5 == checksum(path): 34 url = 'https://storage.googleapis.com/skia-skqp-assets/' + md5 52 md5 = f.read().strip() 53 assert(len(md5) == 32) 54 download(md5, file_list_file) 58 md5, path = line.strip().split(';', 1) 59 records.append((md5, path))
|
/third_party/node/deps/openssl/openssl/crypto/md5/ |
H A D | md5_sha1.c | 22 if (!MD5_Init(&mctx->md5)) in ossl_md5_sha1_init() 29 if (!MD5_Update(&mctx->md5, data, count)) in ossl_md5_sha1_update() 36 if (!MD5_Final(md, &mctx->md5)) in ossl_md5_sha1_final() 67 if (!MD5_Update(&mctx->md5, padtmp, sizeof(padtmp))) in ossl_md5_sha1_ctrl() 70 if (!MD5_Final(md5tmp, &mctx->md5)) in ossl_md5_sha1_ctrl() 90 if (!MD5_Update(&mctx->md5, padtmp, sizeof(padtmp))) in ossl_md5_sha1_ctrl() 93 if (!MD5_Update(&mctx->md5, md5tmp, sizeof(md5tmp))) in ossl_md5_sha1_ctrl()
|
/third_party/openssl/crypto/md5/ |
H A D | md5_sha1.c | 22 if (!MD5_Init(&mctx->md5)) in ossl_md5_sha1_init() 29 if (!MD5_Update(&mctx->md5, data, count)) in ossl_md5_sha1_update() 36 if (!MD5_Final(md, &mctx->md5)) in ossl_md5_sha1_final() 67 if (!MD5_Update(&mctx->md5, padtmp, sizeof(padtmp))) in ossl_md5_sha1_ctrl() 70 if (!MD5_Final(md5tmp, &mctx->md5)) in ossl_md5_sha1_ctrl() 90 if (!MD5_Update(&mctx->md5, padtmp, sizeof(padtmp))) in ossl_md5_sha1_ctrl() 93 if (!MD5_Update(&mctx->md5, md5tmp, sizeof(md5tmp))) in ossl_md5_sha1_ctrl()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/crypto/ |
H A D | crypto_internal.c | 22 struct MD5Context md5; member 55 MD5Init(&ctx->u.md5); in crypto_hash_init() 77 MD5Init(&ctx->u.md5); in crypto_hash_init() 78 MD5Update(&ctx->u.md5, key, key_len); in crypto_hash_init() 79 MD5Final(tk, &ctx->u.md5); in crypto_hash_init() 91 MD5Init(&ctx->u.md5); in crypto_hash_init() 92 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad)); in crypto_hash_init() 151 MD5Update(&ctx->u.md5, data, len); in crypto_hash_update() 200 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish() 252 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish() [all...] |
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/crypto/ |
H A D | crypto_internal.c | 22 struct MD5Context md5; member 55 MD5Init(&ctx->u.md5); in crypto_hash_init() 77 MD5Init(&ctx->u.md5); in crypto_hash_init() 78 MD5Update(&ctx->u.md5, key, key_len); in crypto_hash_init() 79 MD5Final(tk, &ctx->u.md5); in crypto_hash_init() 91 MD5Init(&ctx->u.md5); in crypto_hash_init() 92 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad)); in crypto_hash_init() 151 MD5Update(&ctx->u.md5, data, len); in crypto_hash_update() 200 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish() 252 MD5Final(mac, &ctx->u.md5); in crypto_hash_finish() [all...] |
/third_party/libwebsockets/lib/tls/mbedtls/ |
H A D | lws-genhash.c | 58 mbedtls_md5_init(&ctx->u.md5); in lws_genhash_init() 59 if (mbedtls_md5_starts_ret(&ctx->u.md5)) in lws_genhash_init() 97 if (mbedtls_md5_update_ret(&ctx->u.md5, in, len)) in lws_genhash_update() 126 if (mbedtls_md5_finish_ret(&ctx->u.md5, result)) in lws_genhash_destroy() 128 mbedtls_md5_free(&ctx->u.md5); in lws_genhash_destroy() 168 mbedtls_md5_init(&ctx->u.md5); in lws_genhash_init() 169 mbedtls_md5_starts(&ctx->u.md5); in lws_genhash_init() 202 mbedtls_md5_update(&ctx->u.md5, in, len); in lws_genhash_update() 226 mbedtls_md5_finish(&ctx->u.md5, result); in lws_genhash_destroy() 227 mbedtls_md5_free(&ctx->u.md5); in lws_genhash_destroy() [all...] |
/third_party/ffmpeg/tests/ |
H A D | md5.sh | 1 # try to find an md5 program 5 elif [ X"$(echo | command md5 2> /dev/null)" != X ]; then 6 do_md5sum() { command md5 $1 | sed 's#MD5 (\(.*\)) = \(.*\)#\2 *\1#'; } 7 elif [ -x /sbin/md5 ]; then 8 do_md5sum() { /sbin/md5 -r $1 | sed 's/\([0-9a-f]\) [ *]*/\1 */'; } 10 do_md5sum() { openssl md5 $1 | sed 's/MD5(\(.*\))= \(.*\)/\2 *\1/'; }
|
/third_party/python/Tools/msi/ |
H A D | generate_md5.py | 14 md5 = hashlib.md5() 15 md5.update(data) 17 hashes.append(md5.hexdigest())
|
/third_party/vk-gl-cts/external/vulkancts/data/vulkan/video/ |
H A D | frame_checksums.py | 62 md5 = hashlib.md5() 63 md5.update(bs) 64 return md5.hexdigest()
|
/third_party/ffmpeg/doc/examples/ |
H A D | filter_audio.c | 47 #include "libavutil/md5.h" 214 static int process_output(struct AVMD5 *md5, AVFrame *frame) in process_output() argument 226 av_md5_init(md5); in process_output() 271 struct AVMD5 *md5; in main() local 298 md5 = av_md5_alloc(); in main() 299 if (!md5) { in main() 331 err = process_output(md5, frame); in main() 354 av_freep(&md5); in main()
|
/third_party/skia/modules/canvaskit/ |
H A D | gm_bindings.cpp | 82 static void LoadKnownDigest(std::string md5) { in LoadKnownDigest() argument 83 gKnownDigests.insert(md5); in LoadKnownDigest() 111 * "hash" - a string which is the md5 hash of the pixel contents and the metadata. 165 // Now we need to encode to PNG and get the md5 hash of the pixels (and colorspace and stuff). in RunGM() 168 SkString md5; in RunGM() local 173 md5.appendf("%02x", digest.data[i]); in RunGM() 176 auto ok = gKnownDigests.find(md5.c_str()); in RunGM() 183 hashAndEncode->encodePNG(&stream, md5.c_str(), empty, empty); in RunGM() 197 gKnownDigests.emplace(md5.c_str()); in RunGM() 199 result.set("hash", md5 in RunGM() [all...] |
/third_party/skia/src/pdf/ |
H A D | SkPDFMetadata.cpp | 142 SkMD5 md5; in CreateUUID() local 144 md5.writeText(uuidNamespace); in CreateUUID() 146 md5.write(&msec, sizeof(msec)); in CreateUUID() 149 md5.write(&dateTime, sizeof(dateTime)); in CreateUUID() 150 md5.write(&metadata.fCreation, sizeof(metadata.fCreation)); in CreateUUID() 151 md5.write(&metadata.fModified, sizeof(metadata.fModified)); in CreateUUID() 154 md5.writeText(keyValuePtr.key); in CreateUUID() 155 md5.write("\037", 1); in CreateUUID() 157 md5.write(value.c_str(), value.size()); in CreateUUID() 158 md5 in CreateUUID() [all...] |
/third_party/skia/tools/gpu/ |
H A D | MemoryCache.cpp | 90 SkString md5; in writeShadersToDisk() local 92 md5.appendf("%02x", digest.data[i]); in writeShadersToDisk() 108 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 115 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk() 123 SkString filename = SkStringPrintf("%s/%s.%s", path, md5.c_str(), ext); in writeShadersToDisk()
|
/third_party/skia/bench/ |
H A D | ChecksumBench.cpp | 54 SkMD5 md5; variable 55 md5.write(fData, sizeof(fData)); 56 (void)md5.finish();
|
/third_party/mbedtls/library/ |
H A D | psa_crypto_hash.c | 32 mbedtls_md5_free(&operation->ctx.md5); in mbedtls_psa_hash_abort() 105 mbedtls_md5_init(&operation->ctx.md5); in mbedtls_psa_hash_setup() 106 ret = mbedtls_md5_starts(&operation->ctx.md5); in mbedtls_psa_hash_setup() 191 mbedtls_md5_clone(&target_operation->ctx.md5, in mbedtls_psa_hash_clone() 192 &source_operation->ctx.md5); in mbedtls_psa_hash_clone() 271 ret = mbedtls_md5_update(&operation->ctx.md5, in mbedtls_psa_hash_update() 368 ret = mbedtls_md5_finish(&operation->ctx.md5, hash); in mbedtls_psa_hash_finish()
|
/third_party/node/deps/openssl/openssl/crypto/rc4/asm/ |
H A D | rc4-md5-x86_64.pl | 50 my ($rc4,$md5)=(1,1); # what to generate? 51 my $D="#" if (!$md5); # if set to "#", MD5 is stitched into RC4(), 74 if ($rc4 && !$md5) { 77 } elsif ($md5 && !$rc4) { 150 $D#md5# mov $ctx,%r11 # reassign arguments 154 $D#md5# mov $inp,%r15 156 $ctx="%r11" if ($md5); # reassign arguments 160 $inp="%r15" if ($md5); 161 $inp=$in0 if (!$md5); 174 $code.=<<___ if (!$md5); [all...] |
/third_party/openssl/crypto/rc4/asm/ |
H A D | rc4-md5-x86_64.pl | 50 my ($rc4,$md5)=(1,1); # what to generate? 51 my $D="#" if (!$md5); # if set to "#", MD5 is stitched into RC4(), 74 if ($rc4 && !$md5) { 77 } elsif ($md5 && !$rc4) { 150 $D#md5# mov $ctx,%r11 # reassign arguments 154 $D#md5# mov $inp,%r15 156 $ctx="%r11" if ($md5); # reassign arguments 160 $inp="%r15" if ($md5); 161 $inp=$in0 if (!$md5); 174 $code.=<<___ if (!$md5); [all...] |