Home
last modified time | relevance | path

Searched refs:sha256Ctx (Results 1 – 2 of 2) sorted by relevance

/base/update/updater/services/diffpatch/
Ddiffpatch.cpp79 SHA256_CTX sha256Ctx; in PatchMapFile() local
80 SHA256_Init(&sha256Ctx); in PatchMapFile()
81 SHA256_Update(&sha256Ctx, buffer.buffer, buffer.length); in PatchMapFile()
83 SHA256_Final(digest.data(), &sha256Ctx); in PatchMapFile()
/base/update/updater/test/unittest/package/
Dpkg_manager_unittest.cpp425 SHA256_CTX sha256Ctx = {}; in TestDecompressLz4() local
426 SHA256_Init(&sha256Ctx); in TestDecompressLz4()
427 …SHA256_Update(&sha256Ctx, static_cast<const uint8_t*>(mappedData), lz4Info.fileInfo.packedSize + 4… in TestDecompressLz4()
428 SHA256_Final(digest.data(), &sha256Ctx); in TestDecompressLz4()
520 SHA256_CTX sha256Ctx = {}; in TestDecompressGzip() local
521 SHA256_Init(&sha256Ctx); in TestDecompressGzip()
522 …SHA256_Update(&sha256Ctx, reinterpret_cast<const uint8_t*>(mappedData) + offset, zipInfo.fileInfo.… in TestDecompressGzip()
523 SHA256_Final(digest.data(), &sha256Ctx); in TestDecompressGzip()
540 SHA256_CTX sha256Ctx = {}; in TestCompressBuffer() local
541 SHA256_Init(&sha256Ctx); in TestCompressBuffer()
[all …]