[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <ZWmwuUpIJ3tq5NxI@gondor.apana.org.au>
Date: Fri, 1 Dec 2023 18:08:57 +0800
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Jia Jie Ho <jiajie.ho@...rfivetech.com>
Cc: "David S . Miller" <davem@...emloft.net>,
linux-crypto@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH v2] crypto: starfive - Pad adata with zeroes
On Mon, Nov 20, 2023 at 11:12:42AM +0800, Jia Jie Ho wrote:
> Aad requires padding with zeroes up to 15 bytes in some cases. This
> patch increases the allocated buffer size for aad and prevents the
> driver accessing uninitialized memory region.
>
> v1->v2: Specify reason for alloc size change in descriptions.
>
> Signed-off-by: Jia Jie Ho <jiajie.ho@...rfivetech.com>
> ---
> drivers/crypto/starfive/jh7110-aes.c | 6 ++++--
> 1 file changed, 4 insertions(+), 2 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
Powered by blists - more mailing lists