Re: [PATCH v9 4/6] tpm: move tpm_chip definition to include/linux/tpm.h
From: Jarkko Sakkinen <hidden>
Date: 2019-02-01 13:39:01
Also in:
keyrings, linux-integrity, lkml
From: Jarkko Sakkinen <hidden>
Date: 2019-02-01 13:39:01
Also in:
keyrings, linux-integrity, lkml
On Fri, Feb 01, 2019 at 11:06:39AM +0100, Roberto Sassu wrote:
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 <redacted> Tested-by: Jarkko Sakkinen <redacted> /Jarkko