tpm: PCR allocate during PCR extend to disable the unsupported algorithms
authorRaymond Mao <raymond.mao@linaro.org>
Mon, 27 Jan 2025 14:58:50 +0000 (06:58 -0800)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 28 Jan 2025 06:58:41 +0000 (08:58 +0200)
commite7e166dabf129aae1fc57fe637ffc37d022ea45a
treec3a6df8914f683965889a48ba1a38381f3b79d9e
parentd487c3283c83d1314f9736bdfc69391dbc347154
tpm: PCR allocate during PCR extend to disable the unsupported algorithms

During PCR extend process, if any unsupported algorithms are active,
try to use PCR allocate to inactivate them.

Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
Acked-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Signed-off-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
lib/tpm-v2.c