summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@kernel.org>2026-04-18 15:13:08 -0700
committerSteve French <stfrench@microsoft.com>2026-04-22 09:56:07 -0500
commit3a4580e71371dc5d323ac1fb4af80316838aca14 (patch)
treec8272beaf5a5a9acb763ddf8d93fda41c32f2acc /include/linux/timerqueue.h
parent44ccf4162adc8a33520112be598a6fba5b318e51 (diff)
smb: client: Use AES-CMAC library for SMB3 signature calculation
Convert smb3_calc_signature() to use the AES-CMAC library instead of a "cmac(aes)" crypto_shash. The result is simpler and faster code. With the library there's no need to allocate memory, no need to handle errors except for key preparation, and the AES-CMAC code is accessed directly without inefficient indirect calls and other unnecessary API overhead. For now a "cmac(aes)" crypto_shash is still being allocated in 'struct cifs_secmech'. Later commits will remove that, simplifying the code even further. Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Eric Biggers <ebiggers@kernel.org> Signed-off-by: Steve French <stfrench@microsoft.com>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions