[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <890ea55e-c6b7-43ff-b9ca-423bb7fe4979@ti.com>
Date: Mon, 24 Nov 2025 15:17:54 +0530
From: T Pratham <t-pratham@...com>
To: Herbert Xu <herbert@...dor.apana.org.au>
CC: "David S. Miller" <davem@...emloft.net>, <linux-crypto@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, Manorit Chawdhry <m-chawdhry@...com>, "Shiva
Tripathi" <s-tripathi1@...com>
Subject: Re: [PATCH] crypto: ahash - Fix crypto_ahash_import with partial
block data
On 21/11/25 11:06, Herbert Xu wrote:
> On Thu, Nov 13, 2025 at 07:30:12PM +0530, T Pratham wrote:
>>
> Restore the partial block buffer in crypto_ahash_import by copying
> it. Check whether the partial block buffer exceeds the maximum
> size and return -EOVERFLOW if it does.
>
> Zero the partial block buffer in crypto_ahash_import_core.
>
> Reported-by: T Pratham <t-pratham@...com>
> Fixes: 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in API")
> Signed-off-by: Herbert Xu <herbert@...dor.apana.org.au>
>
This fixes the issue.
Tested-by: T Pratham <t-pratham@...com>
--
Regards
T Pratham <t-pratham@...com>
Powered by blists - more mailing lists