Re: [PATCH 12/15] ksmbd: Use AES-CMAC library for SMB3 signature calculation
From: Namjae Jeon
Date: Wed Feb 18 2026 - 20:50:05 EST
On Thu, Feb 19, 2026 at 6:42 AM Eric Biggers <ebiggers@xxxxxxxxxx> wrote:
>
> Now that AES-CMAC has a library API, convert ksmbd_sign_smb3_pdu() to
> use it instead of a "cmac(aes)" crypto_shash.
>
> The result is simpler and faster code. With the library there's no need
> to dynamically allocate memory, no need to handle errors, and the
> AES-CMAC code is accessed directly without inefficient indirect calls
> and other unnecessary API overhead.
>
> Signed-off-by: Eric Biggers <ebiggers@xxxxxxxxxx>
Acked-by: Namjae Jeon <linkinjeon@xxxxxxxxxx>
Thanks!