MCPcopy Create free account
hub / github.com/coreboot/coreboot / verification_should_run

Function verification_should_run

src/security/vboot/misc.h:43–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 */
42
43static inline int verification_should_run(void)
44{
45 if (CONFIG(VBOOT_SEPARATE_VERSTAGE))
46 return ENV_SEPARATE_VERSTAGE;
47 else if (CONFIG(VBOOT_STARTS_IN_ROMSTAGE))
48 return ENV_RAMINIT;
49 else if (CONFIG(VBOOT_STARTS_IN_BOOTBLOCK))
50 return ENV_BOOTBLOCK;
51 else
52 dead_code();
53}
54
55static inline int verstage_should_load(void)
56{

Callers 5

vboot_logic_executedFunction · 0.85
vboot_get_contextFunction · 0.85
vboot_run_logicFunction · 0.85
vboot_save_dataFunction · 0.85
tspi_tpm_is_setupFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected