Re: [PATCH v4 02/11] tpm: Export and rename tpm2_find_and_validate_cc()

From: Kees Cook
Date: Fri Nov 04 2022 - 14:25:37 EST


On Thu, Nov 03, 2022 at 11:01:10AM -0700, Evan Green wrote:
> Export tpm_find_and_validate_cc() since it will be needed by an upcoming
> change allowing access to certain PCRs to be restricted to the kernel.
> In order to export it consistently, and because it's a tpm2-only
> function, rename it to tpm2_find_and_validate_cc().
>
> Signed-off-by: Evan Green <evgreen@xxxxxxxxxxxx>

Reviewed-by: Kees Cook <keescook@xxxxxxxxxxxx>

--
Kees Cook