[PATCH 0/2] TPM: refactoring and integrity

From: Rajiv Andrade
Date: Mon Feb 02 2009 - 12:24:25 EST


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

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/