[SeaBIOS] [PATCH v2 0/3] tpm: Somce tcgbios related fixes and updates

Stefan Berger posted 3 patches 18 weeks ago
Failed in applying to current master (apply log)
src/std/tcg.h |  9 +++++++++
src/tcgbios.c | 56 +++++++++++++++++++++++++++++++++++++++------------
2 files changed, 52 insertions(+), 13 deletions(-)

[SeaBIOS] [PATCH v2 0/3] tpm: Somce tcgbios related fixes and updates

Posted by Stefan Berger 18 weeks ago
This series of patches modifies the logging of events so that only
active PCR banks are logged. An active PCR bank is recognized by
the pcrSelect[0] being != 0.

The vendorInfoSize was assumed to be u32 but it is u8.

Prepare the tcgbios for SHA3 hash algorithms that may be support
by TPM2's some time in the future.

   Stefan

v1->v2:
  - added missing check for !sizeOfSelect
  - added '+ sizeof(u8)' to pad to account for vendorInfoSize field
  - added Marc-Andre's R-b's

Stefan Berger (3):
  tcgbios: Only write logs for PCRs that are in active PCR banks
  tcgbios: Fix the vendorInfoSize to be of type u8
  tcgbios: Add support for SHA3 type of algorithms

 src/std/tcg.h |  9 +++++++++
 src/tcgbios.c | 56 +++++++++++++++++++++++++++++++++++++++------------
 2 files changed, 52 insertions(+), 13 deletions(-)

-- 
2.24.1
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org

[SeaBIOS] Re: [PATCH v2 0/3] tpm: Somce tcgbios related fixes and updates

Posted by Kevin O'Connor 15 weeks ago
On Mon, Mar 30, 2020 at 07:55:54AM -0400, Stefan Berger wrote:
> This series of patches modifies the logging of events so that only
> active PCR banks are logged. An active PCR bank is recognized by
> the pcrSelect[0] being != 0.
> 
> The vendorInfoSize was assumed to be u32 but it is u8.
> 
> Prepare the tcgbios for SHA3 hash algorithms that may be support
> by TPM2's some time in the future.

Thanks.  I committed this series.

-Kevin
_______________________________________________
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-leave@seabios.org