Skip to content

Commit b25c922

Browse files
tpm2_eventlog: Extend pcrs using event EV_IPL.
For TPM2 PCR measurements made by systemd for each PE section of the UKI that is defined by the UAPI.5 UKI Specification PCR 11 is used. Addresses: #3511 Signed-off-by: Juergen Repp <juergen_repp@web.de>
1 parent 354e7f4 commit b25c922

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/tpm2_eventlog.c

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -427,6 +427,11 @@ size_t i;
427427
}
428428
break;
429429

430+
/* For TPM2 PCR measurements made by systemd for each PE section of the UKI that is
431+
defined by the UAPI.5 UKI Specification PCR 11 is used. */
432+
case 11:
433+
return true;
434+
430435
default:
431436
LOG_WARN("Event %zu is unexpectedly not extending either PCR 8, 9, 12 or 14", eventnum - 1);
432437
return false;

0 commit comments

Comments
 (0)