Re: [PATCH 3/5] tpm: Use library version of calc_tpm2_event_size in sysfs code

From: Jarkko Sakkinen
Date: Wed Feb 13 2019 - 06:22:40 EST


On Mon, Feb 11, 2019 at 03:30:50PM +0100, bsz@xxxxxxxxxxxx wrote:
> From: Bartosz Szczepanek <bsz@xxxxxxxxxxxx>
>
> Expect negative values from calc_tpm2_event_size as error codes.
> Pass efispecid instead of event header to calc_tpm2_event_size.
>
> Also, include tpm library in the build.
>
> Signed-off-by: Bartosz Szczepanek <bsz@xxxxxxxxxxxx>

Event log uses securityfs, not sysfs.

/Jarkko