aboutsummaryrefslogtreecommitdiffstats
path: root/net/tls/tls_main.c
diff options
context:
space:
mode:
authorMario Limonciello <[email protected]>2023-08-08 04:12:29 +0000
committerLinus Torvalds <[email protected]>2023-08-09 17:05:15 +0000
commitcacc6e22932f373a91d7be55a9b992dc77f4c59b (patch)
tree809cfcaf78a8c97414268a9d48b3fd28997d1e9d /net/tls/tls_main.c
parentmm: Fix access_remote_vm() regression on tagged addresses (diff)
downloadkernel-cacc6e22932f373a91d7be55a9b992dc77f4c59b.tar.gz
kernel-cacc6e22932f373a91d7be55a9b992dc77f4c59b.zip
tpm: Add a helper for checking hwrng enabled
The same checks are repeated in three places to decide whether to use hwrng. Consolidate these into a helper. Also this fixes a case that one of them was missing a check in the cleanup path. Fixes: 554b841d4703 ("tpm: Disable RNG for all AMD fTPMs") Signed-off-by: Mario Limonciello <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/tls/tls_main.c')
0 files changed, 0 insertions, 0 deletions