/external/chromium_org/content/browser/renderer_host/media/ |
device_request_message_filter.cc | 175 std::vector<uint8> digest(digest_length); 177 hmac.Sign(device_itr->device.id, &digest[0], digest.size()); 182 StringToLowerASCII(base::HexEncode(&digest[0], digest.size()));
|
/external/chromium_org/content/test/ |
image_decoder_test.cc | 56 base::MD5Digest digest; local 61 &digest); 65 reinterpret_cast<const char*>(&digest), sizeof digest); 66 ASSERT_EQ(sizeof digest, bytes_written);
|
/external/chromium_org/third_party/openssl/openssl/crypto/engine/ |
eng_openssl.c | 117 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 345 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 348 if(!digest) 354 /* We are being asked for a specific digest */ 356 *digest = &test_sha_md; 363 *digest = NULL;
|
/external/chromium_org/third_party/usrsctp/overrides/usrsctplib/netinet/ |
sctp_auth.h | 43 /* digest lengths */ 177 uint8_t *text, uint32_t textlen, uint8_t *digest); 179 uint8_t *text, uint32_t textlen, uint8_t *digest, uint32_t digestlen); 181 uint8_t *text, uint32_t textlen, uint8_t *digest); 186 struct mbuf *m, uint32_t m_offset, uint8_t *digest, uint32_t trailer); 188 struct mbuf *m, uint32_t m_offset, uint8_t *digest);
|
/external/openssl/crypto/engine/ |
eng_openssl.c | 117 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 345 static int openssl_digests(ENGINE *e, const EVP_MD **digest, 348 if(!digest) 354 /* We are being asked for a specific digest */ 356 *digest = &test_sha_md; 363 *digest = NULL;
|
/external/libppp/src/ |
chap.c | 132 char *result, *digest; local 147 digest = result; /* the response */ 148 *digest++ = MS_CHAP_RESPONSE_LEN; /* 49 */ 149 memcpy(digest + MS_CHAP_RESPONSE_LEN, name, nlen); 151 memset(digest + 24, '\0', 25); 152 mschap_LANMan(digest, challenge + 1, key); /* LANMan response */ 154 memset(digest, '\0', 25); 155 digest += 24; 168 MD4Final(digest, &MD4context); 172 * result = | 49 | LANMan | 16 byte digest | 9 * ? | name [all...] |
/dalvik/libdex/ |
sha1.cpp | 239 /* Add padding and return the message digest. */ 241 void SHA1Final(unsigned char digest[HASHSIZE], SHA1_CTX* 260 digest[i] = (unsigned char) 279 it in the 20-byte array digest. If fname is NULL, stdin is 282 void sha1file(char *fname, unsigned char* digest) 295 memset(digest, 0, HASHSIZE); 309 SHA1Final(digest, &context); 333 unsigned char digest[HASHSIZE]; local 368 sha1file(s, digest); 373 err |= digest[k] 423 unsigned char digest[HASHSIZE]; local [all...] |
/external/chromium/chrome/browser/safe_browsing/ |
malware_details_cache.cc | 181 MD5Digest digest; local 182 MD5Sum(data.c_str(), data.size(), &digest); 183 pb_response->set_bodydigest(MD5DigestToBase16(digest));
|
/external/chromium/crypto/ |
hmac_win.cc | 158 unsigned char* digest, 165 data.size(), digest, digest_length); 194 return !!CryptGetHashParam(hash, HP_HASHVAL, digest, &sha1_size, 0);
|
/external/chromium_org/third_party/openssl/openssl/crypto/evp/ |
bio_md.c | 65 /* BIO_put and BIO_get both add to the digest, 66 * BIO_gets returns the digest */ 79 BIO_TYPE_MD,"message digest", 186 ret = EVP_DigestInit_ex(ctx,ctx->digest, NULL); 196 *ppmd=ctx->digest; 259 if (size < ctx->digest->md_size)
|
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs12/ |
p12_mutl.c | 125 if ((maclen != (unsigned int)p12->mac->dinfo->digest->length) 126 || memcmp (mac, p12->mac->dinfo->digest->data, maclen)) return 0; 148 if (!(M_ASN1_OCTET_STRING_set (p12->mac->dinfo->digest, mac, maclen))) {
|
/external/chromium_org/third_party/smhasher/src/ |
sha1.cpp | 208 /* Add padding and return the message digest. */ 209 void SHA1_Final(SHA1_CTX* context, uint8_t digest[SHA1_DIGEST_SIZE]) 224 digest[i] = (uint8_t) 242 uint8_t digest[20]; local 246 SHA1_Final(&context, digest); 248 memcpy(out,&digest[0],4); 268 void digest_to_hex(const uint8_t digest[SHA1_DIGEST_SIZE], char *output) 275 sprintf(c,"%02X", digest[i*4+j]); 288 uint8_t digest[20]; local 296 SHA1_Final(&context, digest); [all...] |
/external/nist-sip/java/gov/nist/javax/sip/clientauthutils/ |
MessageDigestAlgorithm.java | 21 * to produce the digest and a checksum. 34 * @return a digest response as defined in rfc2617 55 // digest as specified by rfc2617 95 * to produce the digest and a checksum. 111 * @return a digest response as defined in rfc2617 132 // digest as specified by rfc2617 181 MessageDigest digest = MessageDigest.getInstance("MD5"); local 183 return toHexString(digest.digest(data.getBytes()));
|
/external/openssl/crypto/evp/ |
bio_md.c | 65 /* BIO_put and BIO_get both add to the digest, 66 * BIO_gets returns the digest */ 79 BIO_TYPE_MD,"message digest", 186 ret = EVP_DigestInit_ex(ctx,ctx->digest, NULL); 196 *ppmd=ctx->digest; 259 if (size < ctx->digest->md_size)
|
/external/openssl/crypto/pkcs12/ |
p12_mutl.c | 125 if ((maclen != (unsigned int)p12->mac->dinfo->digest->length) 126 || memcmp (mac, p12->mac->dinfo->digest->data, maclen)) return 0; 148 if (!(M_ASN1_OCTET_STRING_set (p12->mac->dinfo->digest, mac, maclen))) {
|
/external/sfntly/cpp/src/sfntly/ |
font.h | 152 void SetDigest(ByteVector* digest); 237 // Gets a copy of the fonts digest that was created when the font was read. If 238 // no digest was set at creation time then the return result will be null. 239 ByteVector* digest() { return &digest_; } function in class:sfntly::Font 300 // @param digest the computed digest for the font; null if digest was not 302 // Note: Current C++ port does not support SHA digest validation. 303 Font(int32_t sfnt_version, ByteVector* digest);
|
/external/smack/src/org/xbill/DNS/ |
TSIG.java | 57 private String digest; field in class:TSIG 64 digest = "md5"; 67 digest = "sha-1"; 70 digest = "sha-224"; 73 digest = "sha-256"; 76 digest = "sha-512"; 79 digest = "sha-384"; 220 hmac = new HMAC(digest, digestBlockLength, key); 235 /* Digest the message */ 315 HMAC hmac = new HMAC(digest, digestBlockLength, key) [all...] |
/libcore/luni/src/test/java/libcore/java/security/ |
MessageDigestTest.java | 41 assertEquals(Arrays.toString(sha_456), Arrays.toString(sha.digest())); 200 actual = md.digest(); 206 actual = md.digest();
|
/system/core/libmincrypt/ |
sha.c | 149 const uint8_t* SHA_hash(const void* data, int len, uint8_t* digest) { 153 memcpy(digest, SHA_final(&ctx), SHA_DIGEST_SIZE); 154 return digest;
|
/external/chromium_org/net/tools/testserver/ |
minica.py | 49 digest = hashlib.sha1(message).digest() 52 em = ['\xff'] * (self.modlen - 1 - len(prefix) - len(digest)) 55 em += "\x00" + prefix + digest 252 hashlib.sha1(asn1.ToDER(Name(cn = issuer_cn))).digest()) 255 hashlib.sha1(asn1.ToDER(issuer_key)).digest())
|
/frameworks/base/services/java/com/android/server/usb/ |
UsbDebuggingManager.java | 235 byte[] digest = digester.digest(Base64.decode(base64_data, Base64.DEFAULT)); 237 for (int i = 0; i < digest.length; i++) { 238 sb.append(hex.charAt((digest[i] >> 4) & 0xf)); 239 sb.append(hex.charAt(digest[i] & 0xf)); 240 if (i < digest.length - 1)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/generators/ |
PKCS5S2ParametersGenerator.java | 4 import org.bouncycastle.crypto.Digest; 38 public PKCS5S2ParametersGenerator(Digest digest) 40 hMac = new HMac(digest);
|
/external/chromium/chrome/browser/web_applications/ |
web_app.cc | 103 void GetImageCheckSum(const SkBitmap& image, MD5Digest* digest) { 104 DCHECK(digest); 107 MD5Sum(image.getPixels(), image.getSize(), digest); 115 MD5Digest digest; 116 GetImageCheckSum(image, &digest); 120 reinterpret_cast<const char*>(&digest), 121 sizeof(digest)) == sizeof(digest);
|
/external/chromium/net/websockets/ |
websocket_handshake_handler.cc | 346 MD5Digest digest; local 347 MD5Sum(challenge.data(), challenge.size(), &digest); 349 const char* digest_data = reinterpret_cast<char*>(digest.a); 350 response_message.append(digest_data, sizeof(digest.a)); 385 MD5Digest digest; local 386 MD5Sum(challenge.data(), challenge.size(), &digest); 388 const char* digest_data = reinterpret_cast<char*>(digest.a); 389 response_message.append(digest_data, sizeof(digest.a));
|
/external/chromium_org/media/base/ |
video_frame_unittest.cc | 119 base::MD5Digest digest; local 120 base::MD5Final(&digest, &context); 121 EXPECT_EQ(MD5DigestToBase16(digest), expected_hash); 143 base::MD5Digest digest; local 147 base::MD5Final(&digest, &context); 148 EXPECT_EQ(MD5DigestToBase16(digest), "9065c841d9fca49186ef8b4ef547e79b"); 156 base::MD5Final(&digest, &context); 157 EXPECT_EQ(MD5DigestToBase16(digest), "911991d51438ad2e1a40ed5f6fc7c796");
|