mbox series

[0/3] Some tcgbios related fixes and updates

Message ID 20200328193859.848340-1-stefanb@linux.vnet.ibm.com
Headers show
Series Some tcgbios related fixes and updates | expand

Message

Stefan Berger March 28, 2020, 7:38 p.m. UTC
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

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(-)