[PATCH 0/2] tpm: better support for 32-bit tpm2 properties

From: Andrey Pronin
Date: Thu Jul 14 2016 - 21:07:27 EST


These patches help working with 32-bit TPM2.0-specific properties that
can be read using TPM2_GetCapability(capability = TPM_CAP_TPM_PROPERTIES):
- TPM_PT_PERMANENT
- TPM_PT_STARTUP_CLEAR

Andrey Pronin (2):
tpm: define constants for tpm2 properties
tpm: fix byte-order for the value read by tpm2_get_tpm_pt

drivers/char/tpm/tpm.h | 26 ++++++++++++++++++++++++++
drivers/char/tpm/tpm2-cmd.c | 2 +-
2 files changed, 27 insertions(+), 1 deletion(-)

--
2.6.6