Searched refs:algorithm (Results 1 - 2 of 2) sorted by relevance
/system/core/include/cutils/ |
H A D | dir_hash.h | 21 int get_file_hash(HashAlgorithm algorithm, const char *path, 24 int get_recursive_hash_manifest(HashAlgorithm algorithm,
|
/system/core/libcutils/ |
H A D | dir_hash.c | 36 * 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 71 milliseconds