Lines Matching refs:preamble
334 VbFirmwarePreambleHeader *preamble = in futil_cb_show_fw_preamble() local
337 if (VBOOT_SUCCESS != VerifyFirmwarePreamble(preamble, in futil_cb_show_fw_preamble()
343 uint32_t flags = VbGetFirmwarePreambleFlags(preamble); in futil_cb_show_fw_preamble()
346 preamble->preamble_size); in futil_cb_show_fw_preamble()
348 preamble->header_version_major, preamble->header_version_minor); in futil_cb_show_fw_preamble()
350 preamble->firmware_version); in futil_cb_show_fw_preamble()
351 VbPublicKey *kernel_subkey = &preamble->kernel_subkey; in futil_cb_show_fw_preamble()
364 preamble->body_signature.data_size); in futil_cb_show_fw_preamble()
388 VerifyData(fv_data, fv_size, &preamble->body_signature, rsa)) { in futil_cb_show_fw_preamble()
447 VbKernelPreambleHeader *preamble = in futil_cb_show_kernel_preamble() local
450 if (VBOOT_SUCCESS != VerifyKernelPreamble(preamble, in futil_cb_show_kernel_preamble()
458 preamble->preamble_size); in futil_cb_show_kernel_preamble()
460 preamble->header_version_major, in futil_cb_show_kernel_preamble()
461 preamble->header_version_minor); in futil_cb_show_kernel_preamble()
463 preamble->kernel_version); in futil_cb_show_kernel_preamble()
465 preamble->body_load_address); in futil_cb_show_kernel_preamble()
467 preamble->body_signature.data_size); in futil_cb_show_kernel_preamble()
469 preamble->bootloader_address); in futil_cb_show_kernel_preamble()
471 preamble->bootloader_size); in futil_cb_show_kernel_preamble()
473 if (VbGetKernelVmlinuzHeader(preamble, in futil_cb_show_kernel_preamble()
487 if (VbKernelHasFlags(preamble) == VBOOT_SUCCESS) in futil_cb_show_kernel_preamble()
488 flags = preamble->flags; in futil_cb_show_kernel_preamble()
509 &preamble->body_signature, rsa)) { in futil_cb_show_kernel_preamble()
516 printf("Config:\n%s\n", kernel_blob + KernelCmdLineOffset(preamble)); in futil_cb_show_kernel_preamble()