diff options
author | Roberto Sassu <roberto.sassu@huawei.com> | 2019-02-06 17:24:51 +0100 |
---|---|---|
committer | Jarkko Sakkinen <jarkko.sakkinen@linux.intel.com> | 2019-02-13 09:48:51 +0200 |
commit | 240730437deb213a58915830884e1a99045624dc (patch) | |
tree | 8a87d96a19783cd8fc8fd3962665e0eb2d3cfd01 /sound/oss | |
parent | 901615cb916dc955fb7bda4e34402bf263532e4a (diff) | |
download | linux-stable-240730437deb213a58915830884e1a99045624dc.tar.gz linux-stable-240730437deb213a58915830884e1a99045624dc.tar.bz2 linux-stable-240730437deb213a58915830884e1a99045624dc.zip |
KEYS: trusted: explicitly use tpm_chip structure from tpm_default_chip()
When crypto agility support will be added to the TPM driver, users of the
driver have to retrieve the allocated banks from chip->allocated_banks and
use this information to prepare the array of tpm_digest structures to be
passed to tpm_pcr_extend().
This patch retrieves a tpm_chip pointer from tpm_default_chip() so that the
pointer can be used to prepare the array of tpm_digest structures.
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 'sound/oss')
0 files changed, 0 insertions, 0 deletions