]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
smb: client: Consolidate cmac(aes) shash allocation
authorEric Biggers <ebiggers@kernel.org>
Sun, 12 Oct 2025 01:57:38 +0000 (18:57 -0700)
committerSteve French <stfrench@microsoft.com>
Thu, 16 Oct 2025 03:10:28 +0000 (22:10 -0500)
commit3c15a6df61bab034b087f00181408b1537a535bb
tree35d61870032275f3549be972dc78b5ed461159f1
parent2c09630d09c64b6b46e3d59a0031bc1807f742c4
smb: client: Consolidate cmac(aes) shash allocation

Now that smb3_crypto_shash_allocate() and smb311_crypto_shash_allocate()
are identical and only allocate "cmac(aes)", delete the latter and
replace the call to it with the former.

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/sess.c
fs/smb/client/smb2proto.h
fs/smb/client/smb2transport.c