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

2023-01-25 Thread Heinrich Schuchardt
On 1/25/23 12:39, 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 the TPM in that case) a

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

2023-01-25 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 our