src/boot/measure-smbios.h
raw| 1 | /* SPDX-License-Identifier: LGPL-2.1-or-later */ |
| 2 | #pragma once |
| 3 | |
| 4 | /* Measures SMBIOS type 1 (system information, with the volatile "Wake-up Type" field masked) and all |
| 5 | * type 11 (OEM strings) structures into PCR 1, and records the PCR index in the transient |
| 6 | * LoaderPcrSMBIOS EFI variable. Called by both sd-boot and sd-stub; the presence of LoaderPcrSMBIOS |
| 7 | * suppresses a redundant second measurement when both run during the same boot. */ |
| 8 | void measure_smbios(void); |