summaryrefslogtreecommitdiff
path: root/test/py/tests/test_dm.py
diff options
context:
space:
mode:
authorIlias Apalodimas <ilias.apalodimas@linaro.org>2023-10-24 10:43:54 -0500
committerIlias Apalodimas <ilias.apalodimas@linaro.org>2023-10-27 13:17:21 +0300
commit539e2f7c1011549a5a98a59b506c6d3927549b03 (patch)
treeb32223d6bd46533e5b75be28d20facccd06eda26 /test/py/tests/test_dm.py
parente9fc018a558ea931e599453e925d6cb5690112cb (diff)
downloadu-boot-539e2f7c1011549a5a98a59b506c6d3927549b03.tar.gz
u-boot-539e2f7c1011549a5a98a59b506c6d3927549b03.tar.bz2
u-boot-539e2f7c1011549a5a98a59b506c6d3927549b03.zip
test: use a non system PCR for testing PCR extend
We currently use PCR 0 for testing the PCR read/extend functionality in our selftests. How ever those PCRs are defined by the TCG spec for platform use. For example if the tests run *after* the efi subsystem initialization, which extends PCRs 0 & 7 it will give a false positive. So let's switch over to a PCR which is more suitable and is defined for OS use. It's worth noting that we are using PCR10 here, since PCR9 is used internally by U-Boot if we choose to measure the loaded DTB Reviewed-by: Simon Glass <sjg@chromium.org> Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'test/py/tests/test_dm.py')
0 files changed, 0 insertions, 0 deletions