Skip to content

TPM: refactoring and integrity

Rajiv Andrade lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 3 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2TPM: sysfs functions consolidationdrivers/char/tpm/tpm.c drivers/char/tpm/tpm.h+266 -2690 replies
2/2TPM: integrity interfacedrivers/char/tpm/tpm.c drivers/char/tpm/tpm.h include/linux/tpm.h+163 -191 reply

Reviews trailers per patch

1 of 2 patches has a Reviewed-by or Acked-by.

PatchSerge Hallyn
1/2
2/2A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v1 thread

Cover letter [PATCH 0/2] TPM: refactoring and integrity

This patchset contains a refactoring patch and integrity one. The first addresses Matt Helsley and Dave Hansen's comments on replacing the data[] vectors by packed structures making the code easier to read and debug and also consolidates most of the tpm_show_* functions. The second one provides an interface to read and extend PCR values, which is widely used by IMA.

This version also addresses Matt Helsley's last observation on the timeout_t structure usage to access TPM_CAP_PROP_TIS_DURATION capability, now a new structure is being used, duration_t, whose fields now match exactly as defined in the TPM specification.

Rajiv Andrade (2):
TPM: sysfs functions consolidation
TPM: integrity interface

 drivers/char/tpm/tpm.c |  528 ++++++++++++++++++++++--------------------------
 drivers/char/tpm/tpm.h |  142 +++++++++++++
 include/linux/tpm.h    |   35 ++++
 3 files changed, 423 insertions(+), 282 deletions(-)
 create mode 100644 include/linux/tpm.h