
30 Mar
2018
30 Mar
'18
12:42 a.m.
On 29 March 2018 at 15:43, Miquel Raynal miquel.raynal@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@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@chromium.org
Suggest TPM1_DIGEST_LEN which is a bit shorter.
- Simon