diff options
| author | Ilias Apalodimas <[email protected]> | 2023-10-24 10:43:54 -0500 |
|---|---|---|
| committer | Ilias Apalodimas <[email protected]> | 2023-10-27 13:17:21 +0300 |
| commit | 539e2f7c1011549a5a98a59b506c6d3927549b03 (patch) | |
| tree | b32223d6bd46533e5b75be28d20facccd06eda26 /include/linux/linux_string.h | |
| parent | e9fc018a558ea931e599453e925d6cb5690112cb (diff) | |
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 <[email protected]>
Signed-off-by: Ilias Apalodimas <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
