Home
last modified time | relevance | path

Searched refs:hash_fn (Results 1 – 2 of 2) sorted by relevance

/system/apex/apexd/
Dapexd_verity.cpp74 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in GenerateHashTree() local
75 if (hash_fn == nullptr) { in GenerateHashTree()
80 auto builder = std::make_unique<HashTreeBuilder>(block_size, hash_fn); in GenerateHashTree()
137 auto hash_fn = HashTreeBuilder::HashFunction(verity_data.hash_algorithm); in CalculateRootDigest() local
138 if (hash_fn == nullptr) { in CalculateRootDigest()
142 auto builder = std::make_unique<HashTreeBuilder>(block_size, hash_fn); in CalculateRootDigest()
/system/update_engine/payload_generator/
Dblock_mapping.cc36 std::hash<string> hash_fn; in HashValue() local
37 return hash_fn(string(blob.begin(), blob.end())); in HashValue()