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


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
tpmdd-devel mailing list
tpmdd-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tpmdd-devel

Reply via email to