Re: [PATCH v4 4/6] tpm: modify tpm_pcr_read() definition to pass a TPM hash algorithm
From: Jarkko Sakkinen <hidden>
Date: 2018-11-08 19:08:42
Also in:
linux-integrity, lkml
On Thu, Nov 08, 2018 at 04:19:09PM +0100, Peter Huewe wrote:
Am 8. November 2018 16:15:04 MEZ schrieb Jarkko Sakkinen [off-list ref]:quoted
On Thu, Nov 08, 2018 at 03:16:03PM +0100, Roberto Sassu wrote:quoted
On 11/8/2018 3:04 PM, Jarkko Sakkinen wrote:quoted
On Tue, Nov 06, 2018 at 04:01:57PM +0100, Roberto Sassu wrote:quoted
Currently the TPM driver allows other kernel subsystems to readonly thequoted
quoted
quoted
SHA1 PCR bank. This patch modifies the parameters oftpm_pcr_read() andquoted
quoted
quoted
tpm2_pcr_read() to pass a tpm_digest structure, which containsthe desiredquoted
quoted
quoted
hash algorithm. Also, since commit 125a22105410 ("tpm: Reactcorrectly toquoted
quoted
quoted
RC_TESTING from TPM 2.0 self tests") removed the call totpm2_pcr_read(),quoted
quoted
quoted
the new parameter is expected to be always not NULL. Due to the API change, IMA functions have been modified. Signed-off-by: Roberto Sassu <roberto.sassu@huawei.com> Acked-by: Mimi Zohar <zohar@linux.ibm.com>Does not apply to the current upstream (with tpm1-cmd.c).Unfortunately, I cannot fetch the repository as infradead.org only supports the git protocol (I'm behind a proxy). RobertoI use a proxy script similar to this: https://gist.github.com/sit/49288 (random googling but gives the idea) /JarkkoMoving to a kernel.org repo would be really a benefit or convincing them to have a https interface as well. We have the same proxy issue with infradead. Peter -- Sent from my mobile
So you are unable to use core.gitproxy to configure the proxy? /Jarkko