[U-Boot] [PATCH v2 08/19] tpm: handle different buffer sizes

Simon Glass sjg at chromium.org
Thu Mar 29 22:42:14 UTC 2018


On 29 March 2018 at 15:43, Miquel Raynal <miquel.raynal at bootlin.com> wrote:
> Usual buffer sizes for TPMv1 and TPMv2 are different. Change TPMv1
> buffer size definition for that and declare another size for TPMv2
> buffers.
>
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>
> ---
>  cmd/tpm.c     |  5 +++--
>  include/tpm.h |  2 ++
>  lib/tpm.c     | 60 +++++++++++++++++++++++++++++------------------------------
>  3 files changed, 34 insertions(+), 33 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>

Suggest TPM1_DIGEST_LEN which is a bit shorter.

- Simon


More information about the U-Boot mailing list