![]() |
coreboot
coreboot is an Open Source project aimed at replacing the proprietary BIOS found in most computers.
|
Go to the source code of this file.
Macros | |
#define | TPM_PCR_BOOT_MODE "VBOOT: boot mode" |
#define | TPM_PCR_GBB_HWID_NAME "VBOOT: GBB HWID" |
Functions | |
uint32_t | vboot_setup_tpm (struct vb2_context *ctx) |
vb2_error_t | vboot_extend_pcr (struct vb2_context *ctx, int pcr, enum vb2_pcr_digest which_digest) |
#define TPM_PCR_BOOT_MODE "VBOOT: boot mode" |
Definition at line 7 of file tpm_common.c.
#define TPM_PCR_GBB_HWID_NAME "VBOOT: GBB HWID" |
Definition at line 8 of file tpm_common.c.
vb2_error_t vboot_extend_pcr | ( | struct vb2_context * | ctx, |
int | pcr, | ||
enum vb2_pcr_digest | which_digest | ||
) |
Definition at line 21 of file tpm_common.c.
References _Static_assert(), buffer, CONFIG, tpm_extend_pcr(), TPM_PCR_BOOT_MODE, TPM_PCR_GBB_HWID_NAME, and TPM_PCR_MINIMUM_DIGEST_SIZE.
Referenced by extend_pcrs().
uint32_t vboot_setup_tpm | ( | struct vb2_context * | ctx | ) |
Definition at line 10 of file tpm_common.c.
References TPM_E_MUST_REBOOT, and tpm_setup().
Referenced by verstage_main().