summaryrefslogtreecommitdiff
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2023-10-29 08:03:00 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-05-25 17:22:41 +0300
commit69a1669a6ba1ca6c8f7b07a2b0303b1fcb6ca4c1 (patch)
tree40c429fa320db128ac98bd122edb72d7dac25e7c /crypto
parent5b3c76351b4937c074e242e294aaa4458832d1d6 (diff)
downloadlinux-69a1669a6ba1ca6c8f7b07a2b0303b1fcb6ca4c1.tar.xz
smb: use crypto_shash_digest() in symlink_hash()
[ Upstream commit 783fa2c94f4150fe1b7f7d88b3baf6d98f82b41b ] Simplify symlink_hash() by using crypto_shash_digest() instead of an init+update+final sequence. This should also improve performance. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Paulo Alcantara (SUSE) <pc@manguebit.com> Signed-off-by: Steve French <stfrench@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions