Searched refs:SHA1_LENGTH (Results 1 – 10 of 10) sorted by relevance
/external/chromium/base/ |
D | sha1_win.cc | 22 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString() 29 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString() 35 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString() 44 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString() 54 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString() 57 if (hash_len != SHA1_LENGTH) { in SHA1HashString() 59 << " should be " << SHA1_LENGTH; in SHA1HashString() 60 return std::string(SHA1_LENGTH, '\0'); in SHA1HashString()
|
D | sha1_unittest.cc | 23 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST() 39 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST() 54 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST() 61 unsigned char output[base::SHA1_LENGTH]; in TEST() 71 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST() 79 unsigned char output[base::SHA1_LENGTH]; in TEST() 89 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST() 96 unsigned char output[base::SHA1_LENGTH]; in TEST() 106 for (size_t i = 0; i < base::SHA1_LENGTH; i++) in TEST()
|
D | sha1.h | 18 SHA1_LENGTH = 20 // Length in bytes of a SHA-1 hash. enumerator
|
/external/chromium/net/base/ |
D | x509_certificate.cc | 123 return memcmp(a, b, base::SHA1_LENGTH); in CompareSHA1Hashes() 868 static const uint8 kHashes[kNumHashes][base::SHA1_LENGTH] = { in IsPublicKeyBlacklisted() 886 if (memcmp(j->data, kHashes[i], base::SHA1_LENGTH) == 0) in IsPublicKeyBlacklisted() 898 DCHECK_EQ(0u, array_byte_len % base::SHA1_LENGTH); in IsSHA1HashInSortedArray() 899 const unsigned arraylen = array_byte_len / base::SHA1_LENGTH; in IsSHA1HashInSortedArray() 900 return NULL != bsearch(hash.data, array, arraylen, base::SHA1_LENGTH, in IsSHA1HashInSortedArray()
|
D | x509_certificate_unittest.cc | 35 using base::SHA1_LENGTH; 535 uint8 hash[base::SHA1_LENGTH]; in TEST() 572 EXPECT_EQ(HexEncode(nistSPKIHash, base::SHA1_LENGTH), in TEST() 573 HexEncode(verify_result.public_key_hashes[0].data, SHA1_LENGTH)); in TEST() 575 HexEncode(verify_result.public_key_hashes[1].data, SHA1_LENGTH)); in TEST()
|
D | transport_security_state.cc | 383 hash_str.size() == base::SHA1_LENGTH) { in Deserialise()
|
D | dnssec_chain_verifier.cc | 528 digest_len = base::SHA1_LENGTH; in DigestKey()
|
/external/chromium/net/socket/ |
D | dns_cert_provenance_checker.cc | 118 uint8 fingerprint[SHA1_LENGTH]; in Start() 123 char fingerprint_hex[SHA1_LENGTH * 2 + 1]; in Start() 129 fingerprint_hex[SHA1_LENGTH * 2] = 0; in Start()
|
D | ssl_client_socket_nss.cc | 343 hash_length = SHA1_LENGTH; in VerifyTXTRecords()
|
/external/chromium/chrome/common/net/ |
D | x509_certificate_model_nss.cc | 304 return HashCert(cert_handle, HASH_AlgSHA1, SHA1_LENGTH); in HashCertSHA1()
|