Home
last modified time | relevance | path

Searched refs:digest (Results 1 – 22 of 22) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/content/pm/
DManifestDigestTest.java53 new ManifestDigest(MessageDigest.getInstance("SHA-256").digest(MESSAGE_1)); in testManifestDigest_Equals()
65 ManifestDigest digest = ManifestDigest.fromInputStream(is); in testManifestDigest_Parcel() local
68 digest.writeToParcel(p, 0); in testManifestDigest_Parcel()
74 + digest.toString() + " and " + fromParcel.toString(), digest, in testManifestDigest_Parcel()
/frameworks/base/tests/CoreTests/android/core/
DSha1Test.java45 MessageDigest digest = MessageDigest.getInstance("SHA-1"); in testSha1() local
49 digest.update(mTestData[i].input.getBytes()); in testSha1()
50 byte[] hash = digest.digest(); in testSha1()
/frameworks/base/core/java/android/content/pm/
DManifestDigest.java51 ManifestDigest(byte[] digest) { in ManifestDigest() argument
52 mDigest = digest; in ManifestDigest()
84 final byte[] digest = md.digest(); in fromInputStream()
85 return new ManifestDigest(digest); in fromInputStream()
/frameworks/base/obex/javax/obex/
DObexSession.java163 byte[] digest = new byte[challenge.length + password.length + 1]; in handleAuthChall()
164 System.arraycopy(challenge, 0, digest, 0, challenge.length); in handleAuthChall()
166 digest[challenge.length] = (byte)0x3A; in handleAuthChall()
167 System.arraycopy(password, 0, digest, challenge.length + 1, password.length); in handleAuthChall()
173 System.arraycopy(ObexHelper.computeMd5Hash(digest), 0, header.mAuthResp, 2, 16); in handleAuthChall()
DObexHelper.java927 return md5.digest(in); in computeMd5Hash()
/frameworks/compile/libbcc/lib/Support/
Dsha1.c240 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* in SHA1Final()
259 digest[i] = (unsigned char) in SHA1Final()
281 void sha1file(char *fname, unsigned char* digest) in sha1file() argument
294 memset(digest, 0, HASHSIZE); in sha1file()
308 SHA1Final(digest, &context); in sha1file()
332 unsigned char digest[HASHSIZE]; in verifyfile() local
367 sha1file(s, digest); in verifyfile()
372 err |= digest[k]- in verifyfile()
383 fprintf(stderr, "%02X", digest[k]); in verifyfile()
422 unsigned char digest[HASHSIZE]; in main() local
[all …]
Dsha1.h22 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* context);
/frameworks/base/services/java/com/android/server/usb/
DUsbDebuggingManager.java235 byte[] digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); in getFingerprints()
237 for (int i = 0; i < digest.length; i++) { in getFingerprints()
238 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); in getFingerprints()
239 sb.append(hex.charAt(digest[i] & 0xf)); in getFingerprints()
240 if (i < digest.length - 1) in getFingerprints()
/frameworks/base/core/java/android/net/http/
DRequestHandle.java314 String digest = computeDigest(A1, A2, nonce, QOP, nc, cnonce); in computeDigestAuthResponse() local
321 response += "response=" + doubleQuote(digest) ; in computeDigestAuthResponse()
384 byte[] d = md5.digest(param.getBytes()); in H()
DSslCertificate.java272 byte[] digest = md.digest(bytes); in getDigest()
273 return fingerprint(digest); in getDigest()
/frameworks/compile/libbcc/tools/build/
Dgen-sha1-stamp.py43 result.append((path, h.digest()))
/frameworks/av/media/libstagefright/rtsp/
DMyTransmitter.h325 AString digest; in addAuthentication() local
326 H(tmp, &digest); in addAuthentication()
337 request->append(digest); in addAuthentication()
DARTSPConnection.cpp1023 AString digest; in addAuthentication() local
1024 H(tmp, &digest); in addAuthentication()
1038 fragment.append(digest); in addAuthentication()
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternUtils.java792 byte[] hash = md.digest(res); in patternToHash()
829 byte[] sha1 = MessageDigest.getInstance(algo = "SHA-1").digest(saltedPassword); in passwordToHash()
830 byte[] md5 = MessageDigest.getInstance(algo = "MD5").digest(saltedPassword); in passwordToHash()
/frameworks/base/services/java/com/android/server/updates/
DConfigUpdateInstallReceiver.java195 byte[] fingerprint = dgst.digest(content); in getCurrentHash()
/frameworks/base/services/tests/servicestests/src/com/android/server/updates/
DCertPinInstallReceiverTest.java130 byte[] fingerprint = dgst.digest(encoded); in getCurrentHash()
/frameworks/base/services/input/
DEventHub.cpp86 u_char digest[SHA1_DIGEST_LENGTH]; in sha1() local
87 SHA1Final(digest, &ctx); in sha1()
91 out.appendFormat("%02x", digest[i]); in sha1()
/frameworks/base/
Dpreloaded-classes1572 com.android.org.bouncycastle.jcajce.provider.digest.DigestAlgorithmProvider
1573 com.android.org.bouncycastle.jcajce.provider.digest.MD5
1574 com.android.org.bouncycastle.jcajce.provider.digest.MD5$Mappings
1575 com.android.org.bouncycastle.jcajce.provider.digest.SHA1
1576 com.android.org.bouncycastle.jcajce.provider.digest.SHA1$Mappings
1577 com.android.org.bouncycastle.jcajce.provider.digest.SHA256
1578 com.android.org.bouncycastle.jcajce.provider.digest.SHA256$Mappings
1579 com.android.org.bouncycastle.jcajce.provider.digest.SHA384
1580 com.android.org.bouncycastle.jcajce.provider.digest.SHA384$Mappings
1581 com.android.org.bouncycastle.jcajce.provider.digest.SHA512
[all …]
/frameworks/base/services/java/com/android/server/pm/
DUserManagerService.java1271 byte[] sha1 = MessageDigest.getInstance(algo = "SHA-1").digest(saltedPassword); in passwordToHash()
1272 byte[] md5 = MessageDigest.getInstance(algo = "MD5").digest(saltedPassword); in passwordToHash()
/frameworks/base/docs/html/design/patterns/
Dnotifications.jd136 … the individual notifications that make up a stack by using the expanded digest layout. This allow…
/frameworks/base/docs/html/tools/publishing/
Dapp-signing.jd472 <td><code>-digestalg</code></td><td>The message digest algorithim to use in processing the entries
504 changed, requiring you to specify the signature and digest algorithims ({@code -sigalg} and {@code
/frameworks/base/api/
Dcurrent.txt38005 field protected java.security.MessageDigest digest;
38013 field protected java.security.MessageDigest digest;
38283 method public byte[] digest();
38284 method public int digest(byte[], int, int) throws java.security.DigestException;
38285 method public byte[] digest(byte[]);