[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ed2b6a23-4369-4b38-8ae1-7dd7fc763191@gmail.com>
Date: Tue, 2 Sep 2025 11:36:35 +0300
From: Ovidiu Panait <ovidiu.panait.oss@...il.com>
To: Eric Biggers <ebiggers@...nel.org>, linux-crypto@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, Ard Biesheuvel <ardb@...nel.org>,
"Jason A . Donenfeld" <Jason@...c4.com>, qat-linux@...el.com,
Giovanni Cabiddu <giovanni.cabiddu@...el.com>
Subject: Re: [PATCH 3/3] crypto: sha512 - Implement export_core() and
import_core()
On 9/1/25 7:50 PM, Eric Biggers wrote:
> Since commit 9d7a0ab1c753 ("crypto: ahash - Handle partial blocks in
> API"), the recently-added export_core() and import_core() methods in
> struct shash_alg have effectively become mandatory (even though it is
> not tested or enforced), since legacy drivers that need a fallback
> depend on them. Make crypto/sha512.c compatible with these legacy
> drivers by adding export_core() and import_core() methods to it.
>
> Reported-by: Giovanni Cabiddu <giovanni.cabiddu@...el.com>
> Reported-by: Ovidiu Panait <ovidiu.panait.oss@...il.com>
> Closes: https://lore.kernel.org/r/aLSnCc9Ws5L9y+8X@gcabiddu-mobl.ger.corp.intel.com
> Fixes: 4bc7f7b687a2 ("crypto: sha512 - Use same state format as legacy drivers")
> Signed-off-by: Eric Biggers <ebiggers@...nel.org>
Tested-by: Ovidiu Panait <ovidiu.panait.oss@...il.com>
Thanks,
Ovidiu
Powered by blists - more mailing lists