Searched refs:hash_fn (Results 1 – 5 of 5) sorted by relevance
71 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in GenerateHashTree() local72 if (hash_fn == nullptr) { in GenerateHashTree()77 auto builder = std::make_unique<HashTreeBuilder>(block_size, hash_fn); in GenerateHashTree()131 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in CalculateRootDigest() local132 if (hash_fn == nullptr) { in CalculateRootDigest()136 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()));
134 std::hash<std::string> hash_fn;135 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()