[SLOF] [PATCH 0/3] Some tcgbios related fixes and updates

Stefan Berger stefanb at linux.vnet.ibm.com
Sun Mar 29 06:38:56 AEDT 2020

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 supported
by TPM2's some time in the future.


Stefan Berger (3):
  tcgbios: Only write logs for PCRs that are allocated
  tcgbios: Fix the vendorInfoSize to be of type uint8_t
  tcgbios: Add support for SHA3 type of algorithms

 lib/libtpm/tcgbios.c     | 65 ++++++++++++++++++++++++++++++----------
 lib/libtpm/tcgbios_int.h |  6 ++++
 2 files changed, 56 insertions(+), 15 deletions(-)


More information about the SLOF mailing list