diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2019-02-06 17:24:50 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-02-13 09:48:51 +0200 |
commit | 901615cb916dc955fb7bda4e34402bf263532e4a (patch) | |
tree | af217a92b23d5288074251d6735978375f1785c6 /security/apparmor/policy.c | |
parent | 879b589210a9a0c9f77d301aaf0ddee20f2c5052 (diff) | |
download | linux-901615cb916dc955fb7bda4e34402bf263532e4a.tar.bz2 |
tpm: move tpm_chip definition to include/linux/tpm.h
The tpm_chip structure contains the list of PCR banks currently allocated
in the TPM. When support for crypto agility will be added to the TPM
driver, users of the driver have to provide a digest for each allocated
bank to tpm_pcr_extend(). With this patch, they can obtain the PCR bank
algorithms directly from chip->allocated_banks.
Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
Reviewed-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Tested-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Signed-off-by: Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com>
Diffstat (limited to 'security/apparmor/policy.c')
0 files changed, 0 insertions, 0 deletions