/external/chromium_org/base/ |
D | sha1_win.cc | 22 return std::string(kSHA1Length, '\0'); in SHA1HashString() 29 return std::string(kSHA1Length, '\0'); in SHA1HashString() 35 return std::string(kSHA1Length, '\0'); in SHA1HashString() 44 return std::string(kSHA1Length, '\0'); in SHA1HashString() 54 return std::string(kSHA1Length, '\0'); in SHA1HashString() 57 if (hash_len != kSHA1Length) { in SHA1HashString() 59 << " should be " << kSHA1Length; in SHA1HashString() 60 return std::string(kSHA1Length, '\0'); in SHA1HashString()
|
D | sha1_unittest.cc | 23 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST() 39 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST() 54 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST() 61 unsigned char output[base::kSHA1Length]; in TEST() 71 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST() 79 unsigned char output[base::kSHA1Length]; in TEST() 89 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST() 96 unsigned char output[base::kSHA1Length]; in TEST() 106 for (size_t i = 0; i < base::kSHA1Length; i++) in TEST()
|
D | sha1.h | 16 static const size_t kSHA1Length = 20; // Length in bytes of a SHA-1 hash. variable
|
/external/chromium_org/net/base/ |
D | hash_value.cc | 20 return memcmp(a, b, base::kSHA1Length); in CompareSHA1Hashes() 117 DCHECK_EQ(0u, array_byte_len % base::kSHA1Length); in IsSHA1HashInSortedArray() 118 const size_t arraylen = array_byte_len / base::kSHA1Length; in IsSHA1HashInSortedArray() 119 return NULL != bsearch(hash.data, array, arraylen, base::kSHA1Length, in IsSHA1HashInSortedArray()
|
/external/chromium_org/rlz/lib/ |
D | machine_id.cc | 46 static const int kSizeWithoutChecksum = base::kSHA1Length + sizeof(int); in GetMachineIdImpl() 61 VERIFY(digest.size() == base::kSHA1Length); in GetMachineIdImpl() 68 id_binary[base::kSHA1Length + i] = static_cast<unsigned char>( in GetMachineIdImpl()
|
/external/chromium_org/net/quic/ |
D | port_suggester.cc | 15 unsigned char hash_bytes[base::kSHA1Length]; in PortSuggester() 29 unsigned char hash_bytes[base::kSHA1Length]; in SuggestPort()
|
/external/chromium_org/net/cert/ |
D | cert_verify_proc.cc | 355 static const uint8 kHashes[kNumHashes][base::kSHA1Length] = { in IsPublicKeyBlacklisted() 409 memcmp(j->data(), kHashes[i], base::kSHA1Length) == 0) { in IsPublicKeyBlacklisted() 468 uint8 public_key[base::kSHA1Length]; 521 memcmp(j->data(), kLimits[i].public_key, base::kSHA1Length) == 0) { in HasNameConstraintsViolation()
|
D | cert_verify_proc_unittest.cc | 660 EXPECT_EQ(HexEncode(kSatvedaSPKIs[i], base::kSHA1Length), in TEST_F() 661 HexEncode(sha1_hashes[i].data(), base::kSHA1Length)); in TEST_F()
|
D | x509_certificate_unittest.cc | 431 uint8 hash[base::kSHA1Length]; in TEST()
|
/external/chromium_org/components/variations/ |
D | metrics_util.cc | 15 unsigned char sha1_hash[base::kSHA1Length]; in HashName()
|
D | entropy_provider.cc | 77 unsigned char sha1_hash[base::kSHA1Length]; in GetEntropyForTrial()
|
/external/chromium_org/gpu/command_buffer/service/ |
D | program_cache.h | 26 static const size_t kHashLength = base::kSHA1Length;
|
/external/chromium_org/chrome/common/ |
D | pepper_permission_util.cc | 27 DCHECK_EQ(id_hash.length(), base::kSHA1Length); in HashHost()
|
/external/chromium_org/net/tools/quic/test_tools/ |
D | quic_test_utils.cc | 59 unsigned char hash[base::kSHA1Length]; in RandUint64()
|
/external/chromium_org/net/disk_cache/simple/ |
D | simple_util.cc | 72 unsigned char sha_hash[base::kSHA1Length]; in GetEntryHashKey()
|
/external/chromium_org/chrome/app/ |
D | client_util.cc | 84 unsigned char sha1_hash[base::kSHA1Length]; in GetPreReadPopulationAndGroup()
|
/external/chromium_org/chrome/browser/chromeos/policy/ |
D | configuration_policy_handler_chromeos.cc | 106 hash.size() != base::kSHA1Length) { in CheckPolicySettings()
|
/external/chromium_org/google_apis/cup/ |
D | client_update_protocol.cc | 30 return base::kSHA1Length; in HashDigestSize()
|
/external/chromium_org/chrome/common/extensions/features/ |
D | simple_feature.cc | 232 DCHECK(id_hash.length() == base::kSHA1Length); in HashExtensionId()
|
/external/chromium_org/chrome/browser/media/ |
D | media_capture_devices_dispatcher.cc | 97 DCHECK_EQ(origin_hash.length(), base::kSHA1Length); in IsOriginWhitelistedForScreenCapture()
|
/external/chromium_org/chrome/browser/safe_browsing/ |
D | safe_browsing_database.cc | 1755 std::string hashed_ip_prefix(full_hash, base::kSHA1Length); in LoadIpBlacklist() 1756 size_t prefix_size = static_cast<uint8>(full_hash[base::kSHA1Length]); in LoadIpBlacklist()
|
D | safe_browsing_database_unittest.cc | 49 hash[base::kSHA1Length] = static_cast<char>(prefix_size); in HashedIpPrefix()
|