commit | a7812539f4fdf7c0a042edb720ce24558ee59384 | [log] [tgz] |
---|---|---|
author | Andrey Pronin <apronin@google.com> | Sat Mar 11 00:26:15 2023 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Mar 11 05:14:57 2023 |
tree | 71a25a83d825c6a20fa50d11ae1423f24056c75e | |
parent | 96017dcdb1104099315b9e448c85d1489a41ae82 [diff] |
third_party/tpm2: add platform checks to DefineSpace and ChangeAuth This CL adds callbacks to platform-specific code to check if updating a specific nvmem index is allowed for NV_DefineSpace and NV_ChangeAuth. BUG=b:267674073 BUG=b:272310645 TEST=check resulting FWMP space state after extending PCR0 and `cryptohome --action=set_firmware_management_parameters --flags=0` Change-Id: I4a5b646ce6892fad1f8525157e6564b9904ecfcf Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/tpm2/+/4330640 Reviewed-by: Mary Ruthven <mruthven@chromium.org> Auto-Submit: Andrey Pronin <apronin@chromium.org> Commit-Queue: Mary Ruthven <mruthven@chromium.org> Tested-by: Andrey Pronin <apronin@chromium.org>