[PATCH RFC 0/2] Generalize tpm2_get_tpm_pt to tpm2_get_cap
From: Jarkko Sakkinen
Date: Sun Oct 09 2016 - 06:14:32 EST
We need to generalize tpm2_get_tpm_pt to tpm2_get_cap in order to it be
suitable for grabbing handles, PCR banks and so forth.
Jarkko Sakkinen (2):
tpm: move TPM 2.0 command and response constants to tpm2-cmd.c
tpm: refactor tpm2_get_tpm_pt to tpm2_getcap_cmd
drivers/char/tpm/tpm.h | 48 ++----------------
drivers/char/tpm/tpm2-cmd.c | 106 +++++++++++++++++++++++++++-------------
drivers/char/tpm/tpm_tis_core.c | 3 +-
3 files changed, 80 insertions(+), 77 deletions(-)
--
2.7.4