Re: [PATCH 2/3 v2] efi_loader: Introduce eventlog support for TCG2_PROTOCOL

2020-12-02 Thread Ilias Apalodimas
Hi Heinrich [...] > > + rc = tpm2_pcr_extend(dev, pcr_index, alg, > > This does not compile with sandbox_defconfig > > lib/efi_loader/efi_tcg2.c: In function ‘tcg2_pcr_extend’: > lib/efi_loader/efi_tcg2.c:152:40: warning: passing argument 3 of > ‘tpm2_pcr_extend’ makes pointer from inte

Re: [PATCH 2/3 v2] efi_loader: Introduce eventlog support for TCG2_PROTOCOL

2020-12-02 Thread Heinrich Schuchardt
On 11/30/20 10:47 AM, Ilias Apalodimas wrote: > In the previous patches we only introduced a minimal subset of the > EFI_TCG2_PROTOCOL protocol implementing GetCapability(). > So let's continue adding features to it, introducing the > GetEventLog() and HashLogExtendEvent() functions. > > In order t

[PATCH 2/3 v2] efi_loader: Introduce eventlog support for TCG2_PROTOCOL

2020-11-30 Thread Ilias Apalodimas
In the previous patches we only introduced a minimal subset of the EFI_TCG2_PROTOCOL protocol implementing GetCapability(). So let's continue adding features to it, introducing the GetEventLog() and HashLogExtendEvent() functions. In order to do that we first need to construct the eventlog in memo