Re: [PATCH v9 3/8] KEYS: trusted: Replace a redundant instance of tpm2_hash_map

Jarkko Sakkinen
2025-11-28T15:14:49Z

On Fri, Nov 28, 2025 at 09:44:41AM +0000, Jonathan McDowell wrote:
> On Fri, Nov 28, 2025 at 04:53:55AM +0200, Jarkko Sakkinen wrote:
> > 'trusted_tpm2' duplicates 'tpm2_hash_map' originally part of the TPN
> > driver, which is suboptimal.
> >
> > Implement and export `tpm2_find_hash_alg()` in the driver, and substitute
> > the redundant code in 'trusted_tpm2' with a call to the new function.
> >
> > Signed-off-by: Jarkko Sakkinen <jarkko@kernel.org>
>
> Reviewed-by: Jonathan McDowell <noodles@meta.com>

Thank you.

BR, Jarkko