[SeaBIOS] [PATCH 0/8] Further TPM cleanups

Kevin O'Connor kevin at koconnor.net
Mon Nov 23 02:02:30 CET 2015


This series implements some further cleanups I saw while reviewing the
TPM code.  Some of the TPM functions take several parameters and this
series attempts to simplify that.

I've only compile tested this.

The series is also available at:

  https://github.com/KevinOConnor/seabios/tree/testing

-Kevin


Kevin O'Connor (8):
  tpm: Don't pass entry_count around in parameters to/from
    tpm_extend_acpi_log()
  tpm: There is no need to pass pcrindex to hash_log_extend_event()
  tpm: Perform hashing separately from logging
  tpm: Use pcpes->event[] to pass data to tpm_extend_acpi_log()
  tpm: Avoid scatter-gather copying in build_and_send_cmd()
  tpm: Don't implement scatter-gather in transmit()
  tpm: Merge tpm_log_event() and tpm_extend_acpi_log()
  tpm: Merge tpm_log_extend_event() and tpm_extend(); extend before
    logging

 src/std/tcg.h |   6 +-
 src/tcgbios.c | 257 ++++++++++++++++++++--------------------------------------
 src/tcgbios.h |   8 --
 3 files changed, 87 insertions(+), 184 deletions(-)

-- 
2.5.0




More information about the SeaBIOS mailing list