Searched refs:SIGN_SHA256_LEN (Results 1 – 6 of 6) sorted by relevance
/base/update/packaging_tools/ |
D | create_update_package.py | 32 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/ |
D | pkg_algo_digest.cpp | 33 … 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()
|
D | pkg_algo_digest.h | 25 constexpr uint32_t SIGN_SHA256_LEN = 256; variable
|
/base/update/updater/services/package/pkg_package/ |
D | pkg_pkgfile.cpp | 173 std::vector<uint8_t> buffer(SIGN_SHA256_LEN + SIGN_SHA384_LEN, 0); in AddSignData()
|
D | pkg_upgradefile.cpp | 73 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/ |
D | pkg_managerImpl.cpp | 698 …K(!memcpy_s(digestInfos[DIGEST_INFO_SIGNATURE].data(), signatureLen, buff.buffer + SIGN_SHA256_LEN, in CreatePkgStream()
|