commit | df48334ccd5c4b6be32ae5d5b92d1bfbca07f57a | [log] [tgz] |
---|---|---|
author | Andrey Pronin <apronin@google.com> | Sat Mar 11 00:51:55 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri May 12 16:46:36 2023 |
tree | 636945c1dd76db0d18718b542184f2beb40545b2 | |
parent | 302248e3d8bd39059235b827055195156bbb8175 [diff] |
third_party/tpm2: prevent double-extend for PCR0 This CL ignores subsequent extend requests for PCR0. BUG=b:271637992 TEST=1) verify that can't double-extend PCR0 2) verify that can double-extend PCR1 and PCR7 The following sequence of commands is used in both cases: trunks_client --read_pcr --index=N trunks_client --extend_pcr --index=N --value=1 trunks_client --read_pcr --index=N Change-Id: Ic1bfdb0da8695c64f234c17e747e0fb5b4ed0d0d Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/tpm2/+/4330643 Commit-Queue: Mary Ruthven <mruthven@chromium.org> Reviewed-by: Yi Chou <yich@google.com> Tested-by: Andrey Pronin <apronin@chromium.org>