]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: Remove obsolete crypto_shash allocations
authorEric Biggers <ebiggers@kernel.org>
Sun, 12 Oct 2025 01:57:37 +0000 (18:57 -0700)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Oct 2025 03:10:28 +0000 (22:10 -0500)
commit2c09630d09c64b6b46e3d59a0031bc1807f742c4
tree5561bd91d20af791467ff3be647d8a2cc3fc024f
parent395a77b030a878a353465386e8618b5272a480ca
smb: client: Remove obsolete crypto_shash allocations

Now that the SMB client accesses MD5, HMAC-MD5, HMAC-SHA256, and SHA-512
only via the library API and not via crypto_shash, allocating
crypto_shash objects for these algorithms is no longer necessary.
Remove all these allocations, their corresponding kconfig selections,
and their corresponding module soft dependencies.

Reviewed-by: Stefan Metzmacher <metze@samba.org>
Acked-by: Ard Biesheuvel <ardb@kernel.org>
Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Steve French <stfrench@microsoft.com>
fs/smb/client/Kconfig
fs/smb/client/cifsencrypt.c
fs/smb/client/cifsfs.c
fs/smb/client/cifsglob.h
fs/smb/client/smb2transport.c