Home
last modified time | relevance | path

Searched refs:hash_name (Results 1 – 3 of 3) sorted by relevance

/system/extras/verity/
Dhash_tree_builder.cpp31 const EVP_MD* HashTreeBuilder::HashFunction(const std::string& hash_name) { in HashFunction() argument
32 if (android::base::EqualsIgnoreCase(hash_name, "sha1")) { in HashFunction()
35 if (android::base::EqualsIgnoreCase(hash_name, "sha256")) { in HashFunction()
38 if (android::base::EqualsIgnoreCase(hash_name, "sha384")) { in HashFunction()
41 if (android::base::EqualsIgnoreCase(hash_name, "sha512")) { in HashFunction()
45 LOG(ERROR) << "Unsupported hash algorithm " << hash_name; in HashFunction()
/system/extras/verity/include/verity/
Dhash_tree_builder.h66 static const EVP_MD* HashFunction(const std::string& hash_name);
/system/extras/libfec/test/
Dfec_unittest.cpp41 void BuildHashtree(const std::string &hash_name) { in BuildHashtree() argument
43 HashTreeBuilder builder(4096, HashTreeBuilder::HashFunction(hash_name)); in BuildHashtree()