Searched refs:UPGRADE_RESERVE_LEN (Results 1 – 3 of 3) sorted by relevance
52 constexpr int32_t UPGRADE_RESERVE_LEN = 16; variable106 dataOffset += UPGRADE_RESERVE_LEN + GetUpgradeSignatureLen(); in GetEntryOffset()171 …zeof(UpgradePkgTime) + pkgInfo_.pkgInfo.entryCount * sizeof(UpgradeCompInfo) + UPGRADE_RESERVE_LEN; in CheckPackageHeader()196 signOffset = offset + UPGRADE_RESERVE_LEN; in WriteBuffer()201 pkgInfo_.descriptPackageId, {buffer.data(), UPGRADE_RESERVE_LEN}, nameLen); in WriteBuffer()206 ret = pkgStream_->Write(buffer, GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN, offset); in WriteBuffer()221 size_t buffSize = GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN; in SavePackage()386 PkgBuffer buffer(GetUpgradeSignatureLen() + UPGRADE_RESERVE_LEN); in ReadPackageInfo()395 …gFileImpl::ConvertBufferToString(pkgInfo_.descriptPackageId, {buffer.buffer, UPGRADE_RESERVE_LEN}); in ReadPackageInfo()399 buffer.buffer + UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN, SIGN_SHA384_LEN); in ReadPackageInfo()[all …]
34 UPGRADE_RESERVE_LEN = 16 variable110 UPGRADE_RESERVE_LEN + TLV_SIZE + TLV_SIZE + TLV_SIZE + \329 UPGRADE_RESERVE_LEN + SIGN_SHA256_LEN + SIGN_SHA384_LEN346 … (self.head_list.describe_package_id.decode().ljust(UPGRADE_RESERVE_LEN, "\0")).encode())352 self.hash_info_offset = self.compinfo_offset + UPGRADE_RESERVE_LEN
27 from create_update_package import UPGRADE_RESERVE_LEN103 UPGRADE_RESERVE_LEN + UPGRADE_SIGNATURE_LEN