HomeSort by relevance Sort by last modified time
    Searched defs:md5 (Results 1 - 25 of 38) sorted by null

1 2

  /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());
user_settings.cc 270 // We use 10 bits of data from the MD5 digest as the hash.
357 MD5Calculator md5; local
358 md5.AddData(salt.data(), salt.size());
359 md5.AddData(password.data(), password.size());
370 statement.bind_int(2, GetHashFromDigest(md5.GetDigest()));
416 MD5Calculator md5;
417 md5.AddData(salt.data(), salt.size());
418 md5.AddData(password.data(), password.size());
419 return hash == GetHashFromDigest(md5.GetDigest());
  /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] */
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
JCEDigestUtil.java 25 private static Set md5 = new HashSet(); field in class:JCEDigestUtil
38 md5.add("MD5");
39 md5.add(PKCSObjectIdentifiers.md5.getId());
63 oids.put("MD5", PKCSObjectIdentifiers.md5);
64 oids.put(PKCSObjectIdentifiers.md5.getId(), PKCSObjectIdentifiers.md5);
98 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);
  /external/wpa_supplicant_8/src/crypto/
crypto_internal.c 25 struct MD5Context md5; member in union:crypto_hash::__anon14038
49 MD5Init(&ctx->u.md5);
56 MD5Init(&ctx->u.md5);
57 MD5Update(&ctx->u.md5, key, key_len);
58 MD5Final(tk, &ctx->u.md5);
69 MD5Init(&ctx->u.md5);
70 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad));
107 MD5Update(&ctx->u.md5, data, len);
138 MD5Final(mac, &ctx->u.md5);
157 MD5Final(mac, &ctx->u.md5);
    [all...]
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
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...]
HandshakeIODataStream.java 67 private static final MessageDigest md5; field in class:HandshakeIODataStream
72 md5 = MessageDigest.getInstance("MD5");
374 * Returns the MD5 digest of the data passed throught the stream
375 * @return MD5 digest
378 synchronized (md5) {
382 md5.update(buffer, 0, len);
383 return md5.digest();
402 * Returns the MD5 digest of the data passed throught the stream
404 * @return MD5 diges
    [all...]
PRF.java 38 protected static MessageDigest md5; field in class:PRF
56 md5 = MessageDigest.getInstance("MD5");
84 md5.update(secret);
85 md5.update(sha.digest());
86 digest = md5.digest(); // length == 16
146 logger.println("MD5 key:");
HandshakeProtocol.java 380 MessageDigest md5; local
383 md5 = MessageDigest.getInstance("MD5");
393 md5.update(handshake_messages);
394 md5.update(sender);
395 md5.update(session.master_secret);
396 byte[] b = md5.digest(SSLv3Constants.MD5pad1);
397 md5.update(session.master_secret);
398 md5.update(SSLv3Constants.MD5pad2);
399 System.arraycopy(md5.digest(b), 0, buf, 0, 16)
    [all...]
ConnectionStateSSLv3.java 121 MessageDigest md5 = MessageDigest.getInstance("MD5"); local
122 md5.update(client_key);
123 md5.update(clientRandom);
124 md5.update(serverRandom);
125 client_key = md5.digest();
127 md5.update(server_key);
128 md5.update(serverRandom);
129 md5.update(clientRandom);
130 server_key = md5.digest()
    [all...]
  /build/tools/
merge-event-log-tags.py 29 import md5 namespace
141 # versions of python. Using md5 is overkill here but is the same from
144 d = md5.md5(str).digest()[:4]
  /external/webkit/Tools/WebKitTestRunner/cg/
TestInvocationCG.cpp 33 #include <wtf/MD5.h>
73 MD5 md5; local
81 md5.addBytes(buffer);
87 md5.addBytes(bitmapData, 4 * pixelsWide);
95 md5.checksum(hash);
  /libcore/luni/src/test/java/libcore/java/io/
FilterInputStreamNullSourceTest.java 70 MessageDigest md5 = MessageDigest.getInstance("MD5"); local
71 assertReadsFailWithNullPointerException(new DigestInputStream(null, md5));
  /external/openssl/ssl/
s2_lib.c 117 #include <openssl/md5.h>
454 const EVP_MD *md5; local
457 md5 = EVP_md5();
472 md_size = EVP_MD_size(md5);
485 EVP_DigestInit_ex(&ctx, md5, NULL);
  /external/protobuf/python/
ez_setup.py 63 try: from hashlib import md5 namespace
64 except ImportError: from md5 import md5 namespace
68 digest = md5(data).hexdigest()
71 "md5 validation of %s failed! (Possible download problem?)"
242 """Update our built-in md5 registry"""
249 md5_data[base] = md5(f.read()).hexdigest()
  /external/v8/tools/
presubmit.py 32 md5er = hashlib.md5
34 import md5 namespace
35 md5er = md5.new
  /external/chromium/testing/gmock/scripts/
upload.py 37 import md5 namespace
677 checksum = md5.new(content).hexdigest()
    [all...]
  /external/chromium/testing/gtest/scripts/
upload.py 37 import md5 namespace
677 checksum = md5.new(content).hexdigest()
    [all...]
  /external/dropbear/libtomcrypt/src/headers/
tomcrypt_hash.h 26 #ifdef MD5
122 #ifdef MD5
123 struct md5_state md5; member in union:Hash_state
257 #ifdef MD5
  /external/grub/stage2/
md5.c 0 /* md5.c - an implementation of the MD5 algorithm and MD5 crypt */
21 /* See RFC 1321 for a description of the MD5 algorithm.
24 #include <md5.h>
45 /* F, G, H and I are basic MD5 functions.
219 /* If our crypted password isn't 3 chars, then it can't be md5
327 md5 (const char *input) function
339 unsigned char* digest = md5 (buffer);
346 printf ("MD5(%s) failed: %s\n", buffer, result)
    [all...]
  /external/webkit/Source/WebKit/qt/WebCoreSupport/
InspectorServerQt.cpp 25 #include "MD5.h"
53 MD5 md5; local
54 md5.addBytes(challenge, sizeof(challenge));
56 md5.checksum(digest);
  /external/wpa_supplicant/
crypto_internal.c 19 #include "md5.h"
58 struct MD5Context md5; member in union:crypto_hash::__anon13651
82 MD5Init(&ctx->u.md5);
89 MD5Init(&ctx->u.md5);
90 MD5Update(&ctx->u.md5, key, key_len);
91 MD5Final(tk, &ctx->u.md5);
102 MD5Init(&ctx->u.md5);
103 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad));
140 MD5Update(&ctx->u.md5, data, len);
171 MD5Final(mac, &ctx->u.md5);
    [all...]
  /external/webkit/Source/WebCore/websockets/
WebSocketHandshake.cpp 48 #include <wtf/MD5.h>
156 MD5 md5; local
157 md5.addBytes(challenge, sizeof(challenge));
159 md5.checksum(digest);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
crypto_internal.c 19 #include "md5.h"
59 struct MD5Context md5; member in union:crypto_hash::__anon13817
83 MD5Init(&ctx->u.md5);
90 MD5Init(&ctx->u.md5);
91 MD5Update(&ctx->u.md5, key, key_len);
92 MD5Final(tk, &ctx->u.md5);
103 MD5Init(&ctx->u.md5);
104 MD5Update(&ctx->u.md5, k_pad, sizeof(k_pad));
141 MD5Update(&ctx->u.md5, data, len);
172 MD5Final(mac, &ctx->u.md5);
    [all...]

Completed in 4843 milliseconds

1 2