Attention is currently required from: Andrey Pronin, Christian Walter, Tim Wawrzynczak, Karthik Ramasubramanian. Hello build bot (Jenkins), Andrey Pronin, Raul Rangel, Christian Walter, Julius Werner, Tim Wawrzynczak, Yu-Ping Wu,
I'd like you to reexamine a change. Please visit
https://review.coreboot.org/c/coreboot/+/59134
to look at the new patch set (#3).
Change subject: security/tpm/tcg-2.0: Handle TPM_RC_NV_RANGE return code ......................................................................
security/tpm/tcg-2.0: Handle TPM_RC_NV_RANGE return code
As per the TPM spec, if offset and the size field of data add to a value that is greater than the dataSize field of the NV Index referenced by nvIndex, the TPM shall return an error (TPM_RC_NV_RANGE). Handle the TPM error and map it to an appropriate vboot error.
BUG=None TEST=Build and boot to OS in Guybrush.
Signed-off-by: Karthikeyan Ramasubramanian kramasub@google.com Change-Id: I8b403e2f33cc1368065cc21f73df1102695f73eb --- M src/security/tpm/tss/tcg-2.0/tss.c M src/security/tpm/tss/tcg-2.0/tss_structures.h M src/security/tpm/tss_errors.h 3 files changed, 5 insertions(+), 0 deletions(-)
git pull ssh://review.coreboot.org:29418/coreboot refs/changes/34/59134/3