Searched defs:algorithm (Results 1 - 1 of 1) sorted by relevance

/system/core/libcutils/
H A Ddir_hash.c36 * specified by path, using the specified algorithm. Returns the length
39 int get_file_hash(HashAlgorithm algorithm, const char *path, argument
47 if (algorithm != SHA_1) {
129 static int recurse(HashAlgorithm algorithm, const char *directory_path, argument
200 int len = get_file_hash(algorithm, name,
236 if (recurse(algorithm, name, out) < 0) {
260 * reached under the specified directory_path, using the specified algorithm.
264 int get_recursive_hash_manifest(HashAlgorithm algorithm, argument
276 if (recurse(algorithm, directory_path, &out) < 0) {

Completed in 43 milliseconds