Re: [PATCH v2 1/2] crypto: hisilicon/sec2 - fix for aead icv error
From: Herbert Xu
Date: Sat Oct 26 2024 - 04:59:21 EST
On Sat, Oct 26, 2024 at 03:50:58PM +0800, linwenkai (C) wrote:
>
> Hi, do you want me to remove this variable and use the old way to get the
> authsize?
The authsize parameter is meant to be constant throughout a single
encryption/decryption operation. So saving a copy of it for the
duration of that operation makes no sense.
What is the actual problem that you're trying to fix?
Cheers,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt