Re: [PATCH 3/3] crypto: cmac - Add support for cloning

From: Dmitry Safonov
Date: Fri May 19 2023 - 10:42:01 EST


Hi Herbert,

Thanks for the patches!

On 5/19/23 09:28, Herbert Xu wrote:
> Allow hmac to be cloned. The underlying cipher needs to support

Small nit ^cmac

> cloning by not having a cra_init function (all implementations of
> aes that do not require a fallback can be cloned).
>
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>

I'll remove per-CPU request allocations and base version7 on this.

Thanks,
Dmitry