+13
−1
+1
−0
Loading
'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. Reviewed-by:Jonathan McDowell <noodles@meta.com> Signed-off-by:
Jarkko Sakkinen <jarkko@kernel.org>