Home
last modified time | relevance | path

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

/external/chromium/net/base/
Dsdch_manager.cc367 std::string server_hash; in AddSdchDictionary() local
368 GenerateHash(dictionary_text, &client_hash, &server_hash); in AddSdchDictionary()
369 if (dictionaries_.find(server_hash) != dictionaries_.end()) { in AddSdchDictionary()
453 << " and server hash " << server_hash; in AddSdchDictionary()
458 dictionaries_[server_hash] = dictionary; in AddSdchDictionary()
462 void SdchManager::GetVcdiffDictionary(const std::string& server_hash, in GetVcdiffDictionary() argument
465 DictionaryMap::iterator it = dictionaries_.find(server_hash); in GetVcdiffDictionary()
497 std::string* client_hash, std::string* server_hash) { in GenerateHash() argument
504 UrlSafeBase64Encode(second_48_bits, server_hash); in GenerateHash()
506 DCHECK_EQ(server_hash->length(), 8u); in GenerateHash()
Dsdch_manager.h312 void GetVcdiffDictionary(const std::string& server_hash,
325 std::string* client_hash, std::string* server_hash);
Dsdch_filter_unittest.cc79 std::string server_hash; in NewSdchCompressedData() local
80 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData()
83 std::string compressed(server_hash); in NewSdchCompressedData()
93 std::string client_hash, server_hash; in TEST_F() local
95 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F()
98 EXPECT_EQ(server_hash, "MyciMVll"); in TEST_F()
/external/chromium_org/net/base/
Dsdch_manager.cc379 std::string server_hash; in AddSdchDictionary() local
380 GenerateHash(dictionary_text, &client_hash, &server_hash); in AddSdchDictionary()
381 if (dictionaries_.find(server_hash) != dictionaries_.end()) { in AddSdchDictionary()
465 << " and server hash " << server_hash; in AddSdchDictionary()
470 dictionaries_[server_hash] = dictionary; in AddSdchDictionary()
474 void SdchManager::GetVcdiffDictionary(const std::string& server_hash, in GetVcdiffDictionary() argument
478 DictionaryMap::iterator it = dictionaries_.find(server_hash); in GetVcdiffDictionary()
511 std::string* client_hash, std::string* server_hash) { in GenerateHash() argument
518 UrlSafeBase64Encode(second_48_bits, server_hash); in GenerateHash()
520 DCHECK_EQ(server_hash->length(), 8u); in GenerateHash()
Dsdch_manager.h311 void GetVcdiffDictionary(const std::string& server_hash, in NON_EXPORTED_BASE()
324 std::string* client_hash, std::string* server_hash); in NON_EXPORTED_BASE()
Dsdch_filter_unittest.cc73 std::string server_hash; in NewSdchCompressedData() local
74 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in NewSdchCompressedData()
77 std::string compressed(server_hash); in NewSdchCompressedData()
87 std::string client_hash, server_hash; in TEST_F() local
89 SdchManager::GenerateHash(dictionary, &client_hash, &server_hash); in TEST_F()
92 EXPECT_EQ(server_hash, "MyciMVll"); in TEST_F()
/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()