Home
last modified time | relevance | path

Searched refs:server_hash (Results 1 – 5 of 5) sorted by relevance

/external/chromium_org/net/base/
Dsdch_manager.cc385 std::string server_hash; in AddSdchDictionary() local
386 GenerateHash(dictionary_text, &client_hash, &server_hash); in AddSdchDictionary()
387 if (dictionaries_.find(server_hash) != dictionaries_.end()) { in AddSdchDictionary()
474 << " and server hash " << server_hash; in AddSdchDictionary()
478 dictionaries_[server_hash] = dictionary; in AddSdchDictionary()
483 const std::string& server_hash, in GetVcdiffDictionary() argument
488 DictionaryMap::iterator it = dictionaries_.find(server_hash); in GetVcdiffDictionary()
525 std::string* client_hash, std::string* server_hash) { in GenerateHash() argument
532 UrlSafeBase64Encode(second_48_bits, server_hash); in GenerateHash()
534 DCHECK_EQ(server_hash->length(), 8u); in GenerateHash()
Dsdch_manager_unittest.cc197 std::string server_hash; in TEST_F() local
198 sdch_manager()->GenerateHash(dictionary_text, &client_hash, &server_hash); in TEST_F()
199 sdch_manager()->GetVcdiffDictionary(server_hash, target_url, &dictionary); in TEST_F()
220 std::string server_hash; in TEST_F() local
221 sdch_manager()->GenerateHash(dictionary_text, &client_hash, &server_hash); in TEST_F()
222 sdch_manager()->GetVcdiffDictionary(server_hash, target_url, &dictionary); in TEST_F()
450 std::string server_hash; in TEST_F() local
452 SdchManager::GenerateHash(dictionary_text, &tmp_hash, &server_hash); in TEST_F()
458 server_hash, in TEST_F()
470 server_hash, in TEST_F()
Dsdch_manager.h316 void GetVcdiffDictionary(const std::string& server_hash, in NON_EXPORTED_BASE()
329 std::string* client_hash, std::string* server_hash); in NON_EXPORTED_BASE()
/external/chromium_org/crypto/
Dp224_spake.cc200 uint8 client_hash[kSHA256Length], server_hash[kSHA256Length]; in ProcessMessage() local
204 server_hash); in ProcessMessage()
206 const uint8* my_hash = is_server_ ? server_hash : client_hash; in ProcessMessage()
207 const uint8* their_hash = is_server_ ? client_hash : server_hash; in ProcessMessage()
/external/chromium_org/net/filter/
Dsdch_filter_unittest.cc81 std::string server_hash; in NewSdchCompressedData() local
82 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData()
85 std::string compressed(server_hash); in NewSdchCompressedData()
95 std::string client_hash, server_hash; in TEST_F() local
97 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F()
100 EXPECT_EQ(server_hash, "MyciMVll"); in TEST_F()