Re: [PATCH v3 5/5] tpm: ensure that output of PCR read contains the correct digest size
From: Jarkko Sakkinen <hidden>
Date: 2018-10-30 19:52:58
Also in:
linux-integrity, lkml
From: Jarkko Sakkinen <hidden>
Date: 2018-10-30 19:52:58
Also in:
linux-integrity, lkml
On Tue, 30 Oct 2018, Roberto Sassu wrote:
This patch ensures that the digest size returned by the TPM during a PCR read matches the size of the algorithm passed as argument to tpm2_pcr_read(). The check is performed after information about the PCR banks has been retrieved. Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com>
What is the scenarion when this can happen (should be explained in the commit message)? /Jarkko