Re: [PATCH v3 1/3] selftests: tpm2: Probe for available PCR bank

From: Jarkko Sakkinen
Date: Mon Nov 29 2021 - 18:37:30 EST


On Fri, Nov 26, 2021 at 10:43:42PM -0500, Stefan Berger wrote:
>
> On 11/26/21 19:29, Jarkko Sakkinen wrote:
> > On Wed, 2021-11-24 at 19:38 -0500, Stefan Berger wrote:
> > > From: Stefan Berger <stefanb@xxxxxxxxxxxxx>
> > >
> > > Probe for an available PCR bank to accommodate devices that do not have a
> > What does "probing for an vailable PCR bank" even mean?
>
> Checking ? Testing ? What's the difference to those words?

This would an exact description:

"Some devices do not have SHA1 bank available. Try to use SHA256 as a
fallback when this occurs."

It does not leave any open territory what the patch does. It does exactly
this, not more or less.

/Jarkko