diff options
| author | Jarkko Sakkinen <jarkko@kernel.org> | 2025-10-18 20:41:36 +0300 |
|---|---|---|
| committer | Jarkko Sakkinen <jarkko@kernel.org> | 2025-11-29 22:57:30 +0200 |
| commit | 127fa2ae9e2b1f9b9d876dfaa39fe3640cec5764 (patch) | |
| tree | 4da8662315cdd638d739c7530ac8d10707027d05 /kernel/locking/mutex-debug.c | |
| parent | e1afacb68573c3cd0a3785c6b0508876cd3423bc (diff) | |
KEYS: trusted: Replace a redundant instance of tpm2_hash_map
'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>
Diffstat (limited to 'kernel/locking/mutex-debug.c')
0 files changed, 0 insertions, 0 deletions
