Home
last modified time | relevance | path

Searched refs:hashers (Results 1 – 4 of 4) sorted by relevance

/bootable/recovery/install/
Dpackage.cpp61 bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start,
109 bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start,
186 bool MemoryPackage::UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, in UpdateHashAtOffset() argument
194 for (const auto& hasher : hashers) { in UpdateHashAtOffset()
242 bool FilePackage::UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, in UpdateHashAtOffset() argument
258 for (const auto& hasher : hashers) { in UpdateHashAtOffset()
Dverifier.cpp215 std::vector<HasherUpdateCallback> hashers; in verify_file() local
217 hashers.emplace_back( in verify_file()
221 hashers.emplace_back( in verify_file()
231 package->UpdateHashAtOffset(hashers, so_far, read_size); in verify_file()
/bootable/recovery/tests/unit/
Dpackage_test.cpp92 std::vector<HasherUpdateCallback> hashers{ std::bind(&SHA1_Update, &ctx, std::placeholders::_1, in TEST_F() local
94 package->UpdateHashAtOffset(hashers, 0, hash_size); in TEST_F()
/bootable/recovery/install/include/install/
Dverifier.h73 virtual bool UpdateHashAtOffset(const std::vector<HasherUpdateCallback>& hashers, uint64_t start,