Re: [PATCH 3/7] tss2: Implement grub_tcg2_cap_pcr() for EFI

2025-07-08 Thread Gary Lin via Grub-devel
On Tue, Jul 08, 2025 at 12:27:09PM -0400, Stefan Berger wrote: > > > On 7/8/25 4:31 AM, Gary Lin wrote: > > This commit implements grub_tcg2_cap_pcr() for EFI by using the UEFI > > TCG2 protocol, HashLogExtendEvent, to extend the specified PCR with a > > SEPARATOR event and ensure the event will

Re: [PATCH 3/7] tss2: Implement grub_tcg2_cap_pcr() for EFI

2025-07-08 Thread Stefan Berger
On 7/8/25 4:31 AM, Gary Lin wrote: This commit implements grub_tcg2_cap_pcr() for EFI by using the UEFI TCG2 protocol, HashLogExtendEvent, to extend the specified PCR with a SEPARATOR event and ensure the event will be recorded properly in the EV_SEPARATOR ? TPM event log. Signed-off-by: G

[PATCH 3/7] tss2: Implement grub_tcg2_cap_pcr() for EFI

2025-07-08 Thread Gary Lin via Grub-devel
This commit implements grub_tcg2_cap_pcr() for EFI by using the UEFI TCG2 protocol, HashLogExtendEvent, to extend the specified PCR with a SEPARATOR event and ensure the event will be recorded properly in the TPM event log. Signed-off-by: Gary Lin --- grub-core/lib/efi/tcg2.c | 41 ++