mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-03-11 04:58:19 +03:00
tpm2-util: give PCR 6 a name too
The specs call this TCG PC Client Platform Firmware Profile Specification says this PCR is owned by the Host Platform Manufacturer, at various places. Hence let's give it that name. (cherry picked from commit b060b9a492e161d0f59721b9a22cce528c967a40)
This commit is contained in:
parent
01b7520be4
commit
93b886fcc2
@ -4463,6 +4463,7 @@ static const char* const pcr_index_table[_PCR_INDEX_MAX_DEFINED] = {
|
||||
[PCR_EXTERNAL_CONFIG] = "external-config",
|
||||
[PCR_BOOT_LOADER_CODE] = "boot-loader-code",
|
||||
[PCR_BOOT_LOADER_CONFIG] = "boot-loader-config",
|
||||
[PCR_HOST_PLATFORM] = "host-platform",
|
||||
[PCR_SECURE_BOOT_POLICY] = "secure-boot-policy",
|
||||
[PCR_KERNEL_INITRD] = "kernel-initrd",
|
||||
[PCR_IMA] = "ima",
|
||||
|
@ -201,6 +201,7 @@ enum {
|
||||
PCR_EXTERNAL_CONFIG = 3,
|
||||
PCR_BOOT_LOADER_CODE = 4,
|
||||
PCR_BOOT_LOADER_CONFIG = 5,
|
||||
PCR_HOST_PLATFORM = 6,
|
||||
PCR_SECURE_BOOT_POLICY = 7,
|
||||
/* The following names for PCRs 9…15 are based on the "Linux TPM PCR Registry"
|
||||
(https://uapi-group.org/specifications/specs/linux_tpm_pcr_registry/) */
|
||||
|
Loading…
x
Reference in New Issue
Block a user