Lines Matching refs:kph
63 static VbKernelPreambleHeader kph; variable
167 memset(&kph, 0, sizeof(kph)); in ResetMocks()
168 kph.kernel_version = 1; in ResetMocks()
169 kph.preamble_size = 4096 - kbh.key_block_size; in ResetMocks()
170 kph.body_signature.data_size = 70144; in ResetMocks()
171 kph.bootloader_address = 0xbeadd008; in ResetMocks()
172 kph.bootloader_size = 0x1234; in ResetMocks()
276 memcpy((void *)preamble, &kph, sizeof(kph)); in VerifyKernelPreamble()
707 kph.kernel_version = 0; in LoadKernelTest()
712 kph.kernel_version = 0; in LoadKernelTest()
717 kph.kernel_version = 0; in LoadKernelTest()
722 kph.preamble_size |= 0x07; in LoadKernelTest()
727 kph.preamble_size += 65536; in LoadKernelTest()
733 kph.body_load_address = (size_t)kernel_buffer; in LoadKernelTest()
751 kph.body_signature.data_size = 8192; in LoadKernelTest()