mbox series

[v2,0/5] Updates to use IBM TSS C API rather than command line tools

Message ID 20201012234416.20995-1-kgoldman@us.ibm.com (mailing list archive)
Headers show
Series Updates to use IBM TSS C API rather than command line tools | expand

Message

Ken Goldman Oct. 12, 2020, 11:44 p.m. UTC
This patch set replaces calls to command line tools with C code.  This
should be more stable and easier to maintain.  INSTALL instructions
are updated.

While the code is being touched, it changes the PCR handle from
a signed int to a uint32_t, removing the need for error checking.

Finally, it fixes an environment variable issue and some spelling
errors.

Ken Goldman (5):
  ima-evm-utils: Change env variable TPM_SERVER_TYPE for tpm_server
  ima-evm-utils: Change PCR iterater from int to uint32_t
  ima-evm-utils: Change tpm2_pcr_read() to use C code
  ima-evm-utils: Correct spelling errors
  ima-evm-utils: Expand the INSTALL instructions.

 INSTALL                   |  25 +++++-
 src/Makefile.am           |   1 +
 src/evmctl.c              |   9 ++-
 src/pcr.h                 |   2 +-
 src/pcr_tss.c             |   4 +-
 src/pcr_tsspcrread.c      | 156 +++++++++++++++++++++++++++++---------
 tests/boot_aggregate.test |   7 +-
 7 files changed, 159 insertions(+), 45 deletions(-)