Skip to content
Commit 69a1669a authored by Eric Biggers's avatar Eric Biggers Committed by Greg Kroah-Hartman
Browse files

smb: use crypto_shash_digest() in symlink_hash()



[ Upstream commit 783fa2c9 ]

Simplify symlink_hash() by using crypto_shash_digest() instead of an
init+update+final sequence.  This should also improve performance.

Signed-off-by: default avatarEric Biggers <ebiggers@google.com>
Reviewed-by: default avatarPaulo Alcantara (SUSE) <pc@manguebit.com>
Signed-off-by: default avatarSteve French <stfrench@microsoft.com>
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 5b3c7635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment