Home
last modified time | relevance | path

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

/base/update/packaging_tools/
Dcreate_update_package.py32 SIGN_SHA256_LEN = 256 variable
34 UPGRADE_SIGNATURE_LEN = SIGN_SHA256_LEN + SIGN_SHA384_LEN
253 self.sign_offset += SIGN_SHA256_LEN
281 UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN + SIGN_SHA384_LEN
/base/update/updater/services/package/pkg_algorithm/
Dpkg_algo_digest.cpp33 … static const 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/updater/services/package/pkg_package/
Dpkg_pkgfile.cpp173 std::vector<uint8_t> buffer(SIGN_SHA256_LEN + SIGN_SHA384_LEN, 0); in AddSignData()
Dpkg_upgradefile.cpp73 return SIGN_SHA256_LEN + SIGN_SHA384_LEN; in GetUpgradeSignatureLen()
209 buffer.buffer + UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN, SIGN_SHA384_LEN); in LoadPackage()
211 signData.resize(SIGN_SHA256_LEN); in LoadPackage()
212 …= memcpy_s(signData.data(), signData.size(), buffer.buffer + UPGRADE_RESERVE_LEN, SIGN_SHA256_LEN); in LoadPackage()
/base/update/updater/services/package/pkg_manager/
Dpkg_managerImpl.cpp698 …K(!memcpy_s(digestInfos[DIGEST_INFO_SIGNATURE].data(), signatureLen, buff.buffer + SIGN_SHA256_LEN, in CreatePkgStream()