Lines Matching refs:g_preamble
34 static VbKernelPreambleHeader *g_preamble; variable
230 if (VbGetKernelVmlinuzHeader(g_preamble, in UnpackKernelBlob()
238 now = vmlinuz_header_address - g_preamble->body_load_address; in UnpackKernelBlob()
248 now = g_preamble->bootloader_address - g_preamble->body_load_address; in UnpackKernelBlob()
251 g_bootloader_size = g_preamble->bootloader_size; in UnpackKernelBlob()
356 g_preamble = preamble; in UnpackKPart()
357 g_ondisk_bootloader_addr = g_preamble->bootloader_address; in UnpackKPart()
564 if (0 != VerifyKernelPreamble(g_preamble, in VerifyKernelBlob()
565 g_preamble->preamble_size, rsa)) { in VerifyKernelBlob()
572 g_preamble->preamble_size); in VerifyKernelBlob()
574 g_preamble->header_version_major, in VerifyKernelBlob()
575 g_preamble->header_version_minor); in VerifyKernelBlob()
577 g_preamble->kernel_version); in VerifyKernelBlob()
579 g_preamble->body_load_address); in VerifyKernelBlob()
581 g_preamble->body_signature.data_size); in VerifyKernelBlob()
583 g_preamble->bootloader_address); in VerifyKernelBlob()
585 g_preamble->bootloader_size); in VerifyKernelBlob()
587 if (VbGetKernelVmlinuzHeader(g_preamble, in VerifyKernelBlob()
601 if (VbKernelHasFlags(g_preamble) == VBOOT_SUCCESS) in VerifyKernelBlob()
603 g_preamble->flags); in VerifyKernelBlob()
605 if (g_preamble->kernel_version < (min_version & 0xFFFF)) { in VerifyKernelBlob()
608 PRIu64 ".\n", g_preamble->kernel_version, in VerifyKernelBlob()
615 &g_preamble->body_signature, rsa)) { in VerifyKernelBlob()
621 printf("Config:\n%s\n", kernel_blob + KernelCmdLineOffset(g_preamble)); in VerifyKernelBlob()