tpm: Rename tpm2_allow_extend()
authorIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 24 Dec 2024 16:01:05 +0000 (08:01 -0800)
committerIlias Apalodimas <ilias.apalodimas@linaro.org>
Tue, 7 Jan 2025 13:45:51 +0000 (15:45 +0200)
commit0698f1331f286d4ed04bc2345de59acd86ee634e
tree387eeb709849f1a5be8255cab9048fc7299cbafb
parentdbe08c7b38f9bcb17c073cafc9ed8d3d2f398566
tpm: Rename tpm2_allow_extend()

When that function was introduced we were only using it to check if
extending a PCR was allowed, so the name made sense. A few patches ago
we used that function to reason about the EventLog creation and general
usage of PCRs , so let's rename it to something more generic that makes
more sense in all contexts.

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