Home
last modified time | relevance | path

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

/external/vboot_reference/tests/
Dvboot_firmware_tests.c35 static int hash_fw_index; variable
100 hash_fw_index = -1; in ResetMocks()
164 hash_fw_index = 0; in VbExHashFirmwareBody()
166 hash_fw_index = 1; in VbExHashFirmwareBody()
170 digest_expect_ptr = (uint8_t*)(vblock + hash_fw_index) + 5; in VbExHashFirmwareBody()
173 mpreamble[hash_fw_index].body_signature.data_size - 1024); in VbExHashFirmwareBody()
177 if (42 == mpreamble[hash_fw_index].body_signature.sig_offset) { in VbExHashFirmwareBody()
183 return mpreamble[hash_fw_index].body_signature.sig_offset; in VbExHashFirmwareBody()
190 TEST_PTR_EQ(sig, &mpreamble[hash_fw_index].body_signature, "Verifying sig"); in VerifyDigest()
399 TEST_EQ(hash_fw_index, 0, "Hash firmware data A"); in LoadFirmwareTest()