Searched refs:hash_fn (Results 1 – 6 of 6) sorted by relevance
72 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in GenerateHashTree() local73 if (hash_fn == nullptr) { in GenerateHashTree()78 auto builder = std::make_unique<HashTreeBuilder>(block_size, hash_fn); in GenerateHashTree()135 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in CalculateRootDigest() local136 if (hash_fn == nullptr) { in CalculateRootDigest()140 auto builder = std::make_unique<HashTreeBuilder>(block_size, hash_fn); in CalculateRootDigest()
134 std::hash<std::string> hash_fn;135 … return hash_fn(std::string(reinterpret_cast<const char*>(uuid_bytes.data()), uuid_bytes.size()));
137 std::hash<std::string> hash_fn;138 return hash_fn(std::string(reinterpret_cast<const char*>(uuid_bytes.data()),
148 std::hash<std::string> hash_fn;149 … return hash_fn(std::string(reinterpret_cast<const char*>(uuid_bytes.data()), uuid_bytes.size()));
36 std::hash<string> hash_fn; in HashValue() local37 return hash_fn(string(blob.begin(), blob.end())); in HashValue()
175 std::hash<std::string> hash_fn; in operator() local176 return hash_fn(std::to_string(p.first) + p.second); in operator()