Re: [PATCH 7/9] test: use a non system PCR for testing PCR extend

2023-05-10 Thread Simon Glass
On Wed, 10 May 2023 at 09:27, Ilias Apalodimas wrote: > > Hi Simon, > > On Wed, 10 May 2023 at 17:32, Simon Glass wrote: > > > > Hi Ilias, > > > > On Wed, 10 May 2023 at 01:44, Ilias Apalodimas > > wrote: > > > > > > We currently use PCR 0 for testing the PCR read/extend functionality in > > >

Re: [PATCH 7/9] test: use a non system PCR for testing PCR extend

2023-05-10 Thread Ilias Apalodimas
Hi Simon, On Wed, 10 May 2023 at 17:32, Simon Glass wrote: > > Hi Ilias, > > On Wed, 10 May 2023 at 01:44, Ilias Apalodimas > wrote: > > > > 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 > >

Re: [PATCH 7/9] test: use a non system PCR for testing PCR extend

2023-05-10 Thread Simon Glass
Hi Ilias, On Wed, 10 May 2023 at 01:44, Ilias Apalodimas wrote: > > 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 >

[PATCH 7/9] test: use a non system PCR for testing PCR extend

2023-05-10 Thread Ilias Apalodimas
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