Searched refs:algorithm (Results 1 – 3 of 3) sorted by relevance
53 std::unique_ptr<ShaHasher> CreateShaHasher(const std::string &algorithm) { in CreateShaHasher() argument54 if (algorithm == "sha1") { in CreateShaHasher()58 if (algorithm == "sha256") { in CreateShaHasher()62 if (algorithm == "sha512") { in CreateShaHasher()
86 std::unique_ptr<ShaHasher> CreateShaHasher(const std::string &algorithm);
1148 static std::string F2fsCompressAlgorithmName(int algorithm) { in F2fsCompressAlgorithmName() argument1149 switch (algorithm) { in F2fsCompressAlgorithmName()1159 return android::base::StringPrintf("%d", algorithm); in F2fsCompressAlgorithmName()1199 << F2fsCompressAlgorithmName(opts.algorithm) in F2fsCompressOptionsSupported()1261 comp_opt.algorithm = F2FS_COMPRESS_LZ4; in TEST_F()