Searched refs:g_otaPkg (Results 1 – 1 of 1) sorted by relevance
43 static char g_otaPkg[OTA_PKG_SIZE] = { variable171 return isValid ? g_otaPkg : g_otaPkgWrongKey; in HotaGetOtaPkg()230 g_otaPkg[INFO_COMP_DATA_LEN - 1] += 1; in HotaByDefaultPkgWithWrongHash()232 g_otaPkg[INFO_COMP_DATA_LEN - 1] -= 1; in HotaByDefaultPkgWithWrongHash()392 EXPECT_EQ(0, HotaSignVerify(reinterpret_cast<uint8 *>(g_otaPkg), INFO_COMP_DATA_LEN,393 … reinterpret_cast<uint8 *>(g_otaPkg + INFO_COMP_DATA_LEN + SIGN_RSA2048_LEN), SIGN_RSA3072_LEN));443 …ret = HotaCalcImageHash(reinterpret_cast<uint8 *>(g_otaPkg), INFO_COMP_DATA_LEN, imageHashLocal, H…447 … reinterpret_cast<uint8 *>(g_otaPkg + INFO_COMP_DATA_LEN + SIGN_RSA2048_LEN), SIGN_RSA3072_LEN);