Home
last modified time | relevance | path

Searched refs:SIGN_SHA256_LEN (Results 1 – 6 of 6) sorted by relevance

/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.cpp33 static size_t signatureLens[PKG_DIGEST_TYPE_MAX] = {0, 0, SIGN_SHA256_LEN, SIGN_SHA384_LEN}; in GetSignatureLen()
37 return SIGN_SHA256_LEN; in GetSignatureLen()
Dpkg_algo_digest.h25 constexpr uint32_t SIGN_SHA256_LEN = 256; variable
/base/update/packaging_tools/
Dcreate_update_package.py35 SIGN_SHA256_LEN = 256 variable
37 UPGRADE_SIGNATURE_LEN = SIGN_SHA256_LEN + SIGN_SHA384_LEN
269 self.sign_offset += SIGN_SHA256_LEN
329 UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN + SIGN_SHA384_LEN
/base/update/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp176 std::vector<uint8_t> buffer(SIGN_SHA256_LEN + SIGN_SHA384_LEN, 0); in AddSignData()
Dpkg_upgradefile.cpp82 return SIGN_SHA256_LEN + SIGN_SHA384_LEN; in GetUpgradeSignatureLen()
399 buffer.buffer + UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN, SIGN_SHA384_LEN); in ReadPackageInfo()
401 signData.resize(SIGN_SHA256_LEN); in ReadPackageInfo()
402 …= memcpy_s(signData.data(), signData.size(), buffer.buffer + UPGRADE_RESERVE_LEN, SIGN_SHA256_LEN); in ReadPackageInfo()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp802 buffer = buff.buffer + SIGN_SHA256_LEN; in DoCreatePkgStream()