[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181205001417.GF1233@linux.intel.com>
Date: Tue, 4 Dec 2018 16:14:17 -0800
From: Jarkko Sakkinen <jarkko.sakkinen@...ux.intel.com>
To: Roberto Sassu <roberto.sassu@...wei.com>
Cc: zohar@...ux.ibm.com, david.safford@...com, monty.wiseman@...com,
linux-integrity@...r.kernel.org,
linux-security-module@...r.kernel.org,
linux-kernel@...r.kernel.org, silviu.vlasceanu@...wei.com
Subject: Re: [PATCH v6 7/7] tpm: pass an array of tpm_bank_list structures to
tpm_pcr_extend()
On Tue, Dec 04, 2018 at 09:21:38AM +0100, Roberto Sassu wrote:
> The new tpm_bank_list structure has been preferred to the tpm_digest
> structure, to let the caller specify the size of the digest (which may be
> unknown to the TPM driver).
Why is that? Didn't previous commit query these?
> +struct tpm_bank_list {
> + u16 alg_id;
> + u16 extend_size;
> + const u8 *extend_array;
> +};
Naming is not good here. If this only for extending shouldn't that
be in the structs name?
/Jarkko
Powered by blists - more mailing lists