HomeSort by relevance Sort by last modified time
    Searched refs:digest (Results 176 - 200 of 250) sorted by null

1 2 3 4 5 6 78 910

  /system/core/libmincrypt/
sha.c 296 const uint8_t* SHA(const void *data, int len, uint8_t *digest) {
304 digest[i] = *p++;
306 return digest;
  /build/tools/
merge-event-log-tags.py 144 d = md5.md5(str).digest()[:4]
  /cts/tools/dx-tests/src/dxconvext/
ClassFileAssembler.java 140 int amt = md.digest(bytes, 12, 20);
142 throw new RuntimeException("unexpected digest write: " + amt +
  /external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/
PKIXCertPathValidatorSpi.java 31 import org.bouncycastle.crypto.Digest;
87 Digest digest = new OpenSSLDigest.SHA1(); local
88 digest.update(encoded, 0, encoded.length);
89 byte[] out = new byte[digest.getDigestSize()];
90 digest.doFinal(out, 0);
  /external/openssl/crypto/evp/
evp_lib.c 281 return ctx->digest;
m_sigver.c 166 int s = EVP_MD_size(ctx->digest);
evp_test.c 261 static int test_digest(const char *digest,
270 d=EVP_get_digestbyname(digest);
274 printf("Testing digest %s\n",EVP_MD_name(d));
276 hexdump(stdout,"Digest",ciphertext,cn);
301 fprintf(stderr,"Digest length mismatch, got %d expected %d\n",mdn,cn);
307 fprintf(stderr,"Digest mismatch\n");
359 * It'll prevent ENGINEs being ENGINE_init()ialised for cipher/digest use if
  /frameworks/base/core/java/android/webkit/
CacheManager.java 36 import com.android.org.bouncycastle.crypto.Digest;
752 Digest digest = new SHA1Digest(); local
753 int digestLen = digest.getDigestSize();
758 digest.update(data, 0, urlLen);
759 digest.doFinal(hash, 0);
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
Fingerprint.java 32 * MD5-based digest Wrapper.
35 // Instance of the MessageDigest using our specified digest algorithm.
39 * Name of the digest algorithm we use in {@link java.security.MessageDigest}
65 // md5 digest bytes.
81 * Note that this will close() stream after calculating the digest.
102 return new Fingerprint(in.getMessageDigest().digest());
  /sdk/sdkmanager/libs/sdklib/src/com/android/sdklib/internal/repository/
ArchiveInstaller.java 274 // Create an hex string from the digest
275 byte[] digest = digester.digest();
276 n = digest.length;
280 int b = digest[i] & 0x0FF;
378 // Create an hex string from the digest
    [all...]
  /bootable/recovery/updater/
install.c 1073 // Take a sha-1 digest and return it as a newly-allocated hex string.
1074 static char* PrintSha1(uint8_t* digest) {
1079 buffer[i*2] = alphabet[(digest[i] >> 4) & 0xf];
1080 buffer[i*2+1] = alphabet[digest[i] & 0xf];
1108 uint8_t digest[SHA_DIGEST_SIZE]; local
    [all...]
  /bionic/libc/bionic/
sha1.c 242 * Add padding and return the message digest.
244 void SHA1Final(digest, context)
245 u_char digest[20];
251 assert(digest != 0);
263 if (digest) {
265 digest[i] = (u_char)
  /external/tcpdump/
print-rsvp.c 293 u_int8_t digest[16]; member in struct:rsvp_obj_integrity_t
    [all...]
  /system/extras/ext4_utils/
sha1.c 243 * Add padding and return the message digest.
245 void SHA1Final(digest, context)
246 u_char digest[20];
252 assert(digest != 0);
264 if (digest) {
266 digest[i] = (u_char)
  /bootable/recovery/applypatch/
applypatch.c 35 int ParseSha1(const char* str, uint8_t* digest);
442 // byte array 'digest'. 'str' may contain only the digest or be of
443 // the form "<digest>:<anything>". Return 0 on success, -1 on any
445 int ParseSha1(const char* str, uint8_t* digest) {
448 uint8_t* pd = digest;
  /build/tools/signapk/
SignApk.java 212 attr.putValue("SHA1-Digest", base64.encode(md.digest()));
258 /** Write a .SF file with a digest of the specified manifest. */
272 // Digest of the entire manifest
275 main.putValue("SHA1-Digest-Manifest", base64.encode(md.digest()));
279 // Digest of the manifest stanza for this entry.
288 sfAttr.putValue("SHA1-Digest", base64.encode(md.digest()));
  /cts/tools/host/src/com/android/cts/
TestPackage.java 414 * Set the message digest of the test package.
416 * @param digest the string of the package's message digest.
418 private void setMessageDigest(final String digest) {
419 mDigest = digest;
423 * Get the string of package's message digest.
425 * @return message digest string.
434 * @return message digest string.
774 * Generate the message digest of the specified package
777 * @return message digest string(base64 encoded)
    [all...]
  /external/chromium/chrome/browser/safe_browsing/
safe_browsing_store_file.cc 523 // Calculate the digest to this point.
641 MD5Digest digest;
642 MD5Final(&digest, &context);
643 if (!WriteArray(&digest, 1, new_file_.get(), NULL))
safe_browsing_util.cc 492 unsigned char digest[kSafeBrowsingMacDigestSize]; local
493 if (!hmac.Sign(data_str, digest, kSafeBrowsingMacDigestSize))
496 return !memcmp(digest, decoded_mac.data(), kSafeBrowsingMacDigestSize);
  /external/webkit/Source/WebCore/websockets/
WebSocketHandshake.cpp 158 Vector<uint8_t, 16> digest; local
159 md5.checksum(digest);
160 memcpy(expectedChallenge, digest.data(), 16);
  /external/wpa_supplicant/
md5.c 122 static void MD5Final(unsigned char digest[16], struct MD5Context *context);
151 * This code implements the MD5 message-digest algorithm.
161 * To compute the message digest of a chunk of bytes, declare an
164 * will fill a supplied 16-byte array with the digest.
252 void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
289 os_memcpy(digest, ctx->buf, 16);
  /external/wpa_supplicant_6/wpa_supplicant/src/crypto/
md5.c 122 static void MD5Final(unsigned char digest[16], struct MD5Context *context);
151 * This code implements the MD5 message-digest algorithm.
161 * To compute the message digest of a chunk of bytes, declare an
164 * will fill a supplied 16-byte array with the digest.
252 void MD5Final(unsigned char digest[16], struct MD5Context *ctx)
289 os_memcpy(digest, ctx->buf, 16);
  /external/chromium/chrome/browser/metrics/
metrics_service.cc 1209 MD5Digest digest; local
1270 MD5Digest digest; local
    [all...]
  /external/chromium/third_party/libjingle/source/talk/base/
md5c.c 2 * This code implements the MD5 message-digest algorithm.
12 * To compute the message digest of a chunk of bytes, declare an
15 * will fill a supplied 16-byte array with the digest.
113 MD5Final(unsigned char digest[16], struct MD5Context *ctx)
150 memcpy(digest, ctx->buf, 16);
  /external/libvpx/
md5_utils.c 2 * This code implements the MD5 message-digest algorithm.
12 * To compute the message digest of a chunk of bytes, declare an
15 * will fill a supplied 16-byte array with the digest.
115 MD5Final(md5byte digest[16], struct MD5Context *ctx)
144 memcpy(digest, ctx->buf, 16);

Completed in 1194 milliseconds

1 2 3 4 5 6 78 910