Bug#1113996: [PATCH] crypto: padlock-sha - Add support for Zhaoxin processor
- To: AlanSong-oc <AlanSong-oc@zhaoxin.com>
- Cc: Herbert Xu <herbert@gondor.apana.org.au>, davem@davemloft.net, linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, CobeChen@zhaoxin.com, TonyWWang-oc@zhaoxin.com, YunShen@zhaoxin.com, GeorgeXue@zhaoxin.com, LeoLiu-oc@zhaoxin.com, HansHu@zhaoxin.com, Larry Wei <larryw3i@yeah.net>, 1113996@bugs.debian.org
- Subject: Bug#1113996: [PATCH] crypto: padlock-sha - Add support for Zhaoxin processor
- From: Salvatore Bonaccorso <carnil@debian.org>
- Date: Thu, 25 Sep 2025 22:23:30 +0200
- Message-id: <[🔎] aNWkwiHk7sFkHEVp@eldamar.lan>
- Reply-to: Salvatore Bonaccorso <carnil@debian.org>, 1113996@bugs.debian.org
- In-reply-to: <bcaaccf4-4048-48a0-a9f9-64902a16a049@zhaoxin.com>
- References: <20250611101750.6839-1-AlanSong-oc@zhaoxin.com> <aEpgKQ1I0VDSfhO0@gondor.apana.org.au> <0575ec9d-a6b8-4932-a1aa-9646813957a2@zhaoxin.com> <aFkdNoQFmr8-x4cu@gondor.apana.org.au> <bcaaccf4-4048-48a0-a9f9-64902a16a049@zhaoxin.com> <[🔎] 175704896939.7190.6944761126468708742.reportbug@zx11.zx11.local>
Hi,
On Wed, Jun 25, 2025 at 09:51:56AM +0800, AlanSong-oc wrote:
> On 6/23/2025 5:24 PM, Herbert Xu wrote:
> > Thanks for the explanation. There is no requirement to use struct
> > sha1_state. Just supply a custom version of the struct for the
> > shash descriptor that includes the necessary space.
> >
> > IOW do the copy in the rarely used export/import functions, instead
> > of on every hash operation.
>
> Sorry for the late reply. Thank you for your suggestion and review.
>
> I will send an updated patch soon.
FWIW, Larry Wei reported this issue as well in a separate Debian bug
report at https://bugs.debian.org/1113996 .
So far there was no patch applied to mainline if I'm correct. Did that
felt through the cracks?
Regards,
Salvatore
Reply to: