[SLOF] [PATCH v2 0/3] Some tcgbios related fixes and updates
Stefan Berger
stefanb at linux.vnet.ibm.com
Mon Mar 30 23:10:26 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
v1->v2:
- added missing check for !sizeOfSelect
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(-)
--
2.24.1
More information about the SLOF
mailing list