/external/chromium/chrome/browser/sync/util/ |
crypto_helpers_unittest.cc | 13 MD5Calculator md5; local 14 md5.AddData(buffer, arraysize(buffer)); 16 ASSERT_EQ(checksum, md5.GetHexDigest());
|
/bionic/libc/bionic/ |
md5.h | 34 /* $Heimdal: md5.h,v 1.8 2001/01/29 02:08:57 assar Exp $ 35 $NetBSD: md5.h,v 1.1.1.4 2002/09/12 12:41:42 joda Exp $ */ 40 struct md5 { struct 46 typedef struct md5 MD5_CTX; 48 void MD5_Init (struct md5 *m); 49 void MD5_Update (struct md5 *m, const void *p, size_t len); 50 void MD5_Final (void *res, struct md5 *m); /* u_int32_t res[4] */
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5 namespace 11 new = md5
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
md5.py | 7 warnings.warn("the md5 module is deprecated; use hashlib instead", 10 from hashlib import md5 namespace 11 new = md5
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
md5digest_unittest.cc | 34 std::string Md5(const std::string& input) { 35 Md5Digest md5; local 36 return ComputeDigest(&md5, input); 40 Md5Digest md5; local 42 EXPECT_EQ(16U, md5.Size()); 46 // These are the standard MD5 test vectors from RFC 1321. 47 EXPECT_EQ("d41d8cd98f00b204e9800998ecf8427e", Md5("")); 48 EXPECT_EQ("0cc175b9c0f1b6a831c399e269772661", Md5("a")); 49 EXPECT_EQ("900150983cd24fb0d6963f7d28e17f72", Md5("abc")); 50 EXPECT_EQ("f96b697d7cb7938d525a2f31aaf161d0", Md5("message digest")) 56 Md5Digest md5; local 68 Md5Digest md5; local 76 Md5Digest md5; local 84 Md5Digest md5; local [all...] |
/external/chromium_org/third_party/tlslite/tlslite/utils/ |
hmac.py | 29 digestmod: A module supporting PEP 247. Defaults to the md5 module. 32 import md5 namespace 33 digestmod = md5
|
/external/chromium_org/tools/grit/grit/extern/ |
FP.py | 8 _new_md5 = hashlib.md5 10 import md5 namespace 11 _new_md5 = md5.new 23 """Generate a 64-bit fingerprint by taking the first half of the md5 35 takes the first half of the md5 of the string, but the
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
DigestFactory.java | 28 private static Set md5 = new HashSet(); field in class:DigestFactory 41 md5.add("MD5"); 42 md5.add(PKCSObjectIdentifiers.md5.getId()); 66 oids.put("MD5", PKCSObjectIdentifiers.md5); 67 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5); 103 if (md5.contains(digestName) [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
DigitalSignatureTest.java | 50 MessageDigest md5 = null; local 53 md5 = MessageDigest.getInstance("MD5"); 70 md5.update(pivateKeyEncoding); 73 md5.digest(md5_hash, 0, md5_hash.length);
|
/libcore/crypto/src/main/java/org/conscrypt/ |
DigitalSignature.java | 59 private final MessageDigest md5; field in class:DigitalSignature 76 md5 = MessageDigest.getInstance("MD5"); 83 md5 = null; 87 md5 = null; 140 if (md5 != null) { 141 md5.update(data); 146 * Sets MD5 hash 167 if (md5 != null && md5_hash == null) { 169 md5.digest(md5_hash, 0, md5_hash.length) [all...] |
/external/chromium_org/chrome/browser/sync_file_system/drive_backend_v1/ |
fake_api_util_unittest.cc | 57 std::string kMD5_1("md5 1"); 58 std::string kMD5_2("md5 2"); 59 std::string kMD5_3("md5 3"); 98 std::string md5; local 101 base::Bind(DidDownloadFile, &error, &md5)); 104 EXPECT_TRUE(md5.empty());
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 1 # Testing md5 module 3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*", 7 from md5 import md5 namespace 22 self.assertEqual(hexstr(md5(s).digest()), expected) 23 self.assertEqual(md5(s).hexdigest(), expected) 39 m = md5('testing the hexdigest method') 48 m1 = md5() 53 m2 = md5()
|
test_pep247.py | 7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*', 13 import md5 namespace 62 self.check_module(md5)
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_md5.py | 1 # Testing md5 module 3 warnings.filterwarnings("ignore", "the md5 module is deprecated.*", 7 from md5 import md5 namespace 22 self.assertEqual(hexstr(md5(s).digest()), expected) 23 self.assertEqual(md5(s).hexdigest(), expected) 39 m = md5('testing the hexdigest method') 48 m1 = md5() 53 m2 = md5()
|
test_pep247.py | 7 warnings.filterwarnings('ignore', 'the md5 module is deprecated.*', 13 import md5 namespace 62 self.check_module(md5)
|
/system/core/toolbox/ |
md5.c | 7 #include <md5.h> 9 /* When this was written, bionic's md5.h did not define this. */ 16 fprintf(stderr,"md5 file ...\n"); 25 unsigned char md5[MD5_DIGEST_LENGTH]; local 54 MD5_Final(md5, &md5_ctx); 56 for (i = 0; i < (int)sizeof(md5); i++) 57 printf("%02x", md5[i]);
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/coverage/ |
backward.py | 141 # Md5 is available in different places. 144 md5 = hashlib.md5 variable 146 import md5 namespace 147 md5 = md5.new variable
|
/external/chromium_org/third_party/tlslite/tlslite/ |
mathtls.py | 14 # The md5 module is deprecated in Python 2.6 16 import md5 namespace 18 from hashlib import md5 namespace 51 p_md5 = P_hash(md5, S1, concatArrays(stringToBytes(label), seed), length) 68 output = md5.md5(input).digest() 123 digestmod: A module supporting PEP 247. Defaults to the md5 module. 126 import md5 namespace 127 digestmod = md5
|
/external/chromium_org/tools/gyp/pylib/gyp/ |
MSVSNew.py | 12 # hashlib is supplied as of Python 2.5 as the replacement interface for md5 13 # and other secure hashes. In 2.6, md5 is deprecated. Import hashlib if 14 # available, avoiding a deprecation warning under 2.6. Import md5 otherwise, 18 _new_md5 = hashlib.md5 20 import md5 namespace 21 _new_md5 = md5.new 42 seed: Seed for MD5 hash. 52 # Calculate a MD5 signature for the seed and name.
|
/external/skia/bench/ |
ChecksumBench.cpp | 64 SkMD5 md5; local 65 md5.update(reinterpret_cast<uint8_t*>(fData), sizeof(fData)); 67 md5.finish(digest);
|
/external/wpa_supplicant_8/src/crypto/ |
crypto_internal.c | 20 struct MD5Context md5; member in union:crypto_hash::__anon28782 47 MD5Init(&ctx->u.md5); 59 MD5Init(&ctx->u.md5); 60 MD5Update(&ctx->u.md5, key, key_len); 61 MD5Final(tk, &ctx->u.md5); 73 MD5Init(&ctx->u.md5); 74 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad)); 133 MD5Update(&ctx->u.md5, data, len); 172 MD5Final(mac, &ctx->u.md5); 202 MD5Final(mac, &ctx->u.md5); [all...] |
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/ |
PEMDecoder.java | 17 import ch.ethz.ssh2.crypto.digest.MD5; 80 MD5 md5 = new MD5(); local 83 byte[] tmp = new byte[md5.getDigestLength()]; 87 md5.update(password, 0, password.length); 88 md5.update(salt, 0, 8); // ARGH we only use the first 8 bytes of the salt in this step. 93 md5.digest(tmp, 0); 102 md5.update(tmp, 0, tmp.length);
|
/external/antlr/antlr-3.4/runtime/Python/ |
ez_setup.py | 48 from md5 import md5 namespace 49 digest = md5(data).hexdigest() 52 "md5 validation of %s failed! (Possible download problem?)" 189 """Update our built-in md5 registry""" 192 from md5 import md5 namespace 197 md5_data[base] = md5(f.read()).hexdigest()
|
/external/chromium_org/chrome/browser/chromeos/drive/file_system/ |
update_operation.cc | 58 const std::string& md5 = util::GetMd5Digest(local_state->cache_file_path); local 60 (md5 == local_state->entry.file_specific_info().md5()); 62 cache->ClearDirty(local_state->local_id, md5); 99 return cache->ClearDirty(local_id, entry.file_specific_info().md5());
|
/external/chromium_org/chrome/browser/chromeos/drive/ |
resource_metadata_storage.h | 114 std::string md5; member in struct:drive::internal::ResourceMetadataStorage::RecoveredCacheInfo
|