Home
last modified time | relevance | path

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

/system/extras/verity/
Dhash_tree_builder.cpp32 const EVP_MD* HashTreeBuilder::HashFunction(const std::string& hash_name) { in HashFunction() argument
33 if (android::base::EqualsIgnoreCase(hash_name, "sha1")) { in HashFunction()
36 if (android::base::EqualsIgnoreCase(hash_name, "sha256")) { in HashFunction()
39 if (android::base::EqualsIgnoreCase(hash_name, "sha384")) { in HashFunction()
42 if (android::base::EqualsIgnoreCase(hash_name, "sha512")) { in HashFunction()
45 if (android::base::EqualsIgnoreCase(hash_name, "blake2b-256")) { in HashFunction()
49 LOG(ERROR) << "Unsupported hash algorithm " << hash_name; in HashFunction()
/system/extras/verity/include/verity/
Dhash_tree_builder.h71 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()