]> asedeno.scripts.mit.edu Git - linux.git/commit
tpm: implement TPM 2.0 capability to get active PCR banks
authorNayna Jain <nayna@linux.vnet.ibm.com>
Mon, 30 Jan 2017 09:59:40 +0000 (04:59 -0500)
committerJarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Fri, 3 Feb 2017 20:03:14 +0000 (22:03 +0200)
commit1db15344f874f656b267a79467d1e7ee6442ba09
treed179dbde779749998c1f62c71a8e9901e6b4c15b
parent7d761119a914ec0ac05ec2a5378d1f86e680967d
tpm: implement TPM 2.0 capability to get active PCR banks

This patch implements the TPM 2.0 capability TPM_CAP_PCRS to
retrieve the active PCR banks from the TPM. This is needed
to enable extending all active banks as recommended by TPM 2.0
TCG Specification.

Signed-off-by: Nayna Jain <nayna@linux.vnet.ibm.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Kenneth Goldman <kgold@linux.vnet.ibm.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
drivers/char/tpm/tpm.h
drivers/char/tpm/tpm2-cmd.c