Home
last modified time | relevance | path

Searched refs:VerifySha256 (Results 1 - 4 of 4) sorted by relevance

/base/update/updater/services/include/applypatch/
H A Dblock_set.h80 static int32_t VerifySha256(const std::vector<uint8_t> &buffer, const size_t size,
/base/update/updater/services/applypatch/
H A Dcommand_process.cpp125 if (targetBlock.VerifySha256(tgtBuffer, targetBlock.TotalBlockSize(), tgtHash) == 0) { in LoadTarget()
225 int32_t res = srcBlk.VerifySha256(buffer, srcBlockSize, shaStr); in Execute()
H A Dblock_set.cpp208 int32_t BlockSet::VerifySha256(const std::vector<uint8_t> &buffer, const size_t size, const std::string &expected) in VerifySha256() function in Updater::BlockSet
315 int32_t verifyRes = VerifySha256(buffer, blockSize, srcHash); in LoadTargetBuffer()
/base/update/updater/test/unittest/applypatch_test/
H A Dblockset_unittest.cpp65 auto ret = block.VerifySha256(buffer, block.TotalBlockSize(), sha256); in HWTEST_F()

Completed in 3 milliseconds