Re: [PATCH 1/4 v4] tpm: add a function that performs selftest + startup

2023-02-21 Thread Simon Glass
On Sat, 18 Feb 2023 at 08:27, Ilias Apalodimas wrote: > > As described in [0] if a command requires use of an untested algorithm > or functional module, the TPM performs the test and then completes the > command actions. > > Since we don't check for TPM_RC_NEEDS_TEST (which is the return code of

[PATCH 1/4 v4] tpm: add a function that performs selftest + startup

2023-02-18 Thread Ilias Apalodimas
As described in [0] if a command requires use of an untested algorithm or functional module, the TPM performs the test and then completes the command actions. Since we don't check for TPM_RC_NEEDS_TEST (which is the return code of the TPM in that case) and even if we would, it would complicate