Re: [PATCH] crypto: marvell/cesa - Avoid empty transfer descriptor

From: Herbert Xu
Date: Sun May 18 2025 - 03:59:20 EST


On Sat, May 17, 2025 at 01:24:44PM +0200, Corentin Labbe wrote:
>
> Your patch didnt apply cleanly on cryptodev/master in tdma.c
> I have fixed at hand and the result is:
> http://kernel.montjoie.ovh/478852.log

Hah my debug patch was broken. It didn't take into account the
partial block when recalculating the hash with the fallback.

However, this seems to suggest that my hunch was incorrect. The
partial hash wasn't being corrupted and it's actually the final
calculation that was wrong.

This could be good news. Because if it is a hardware bug causing
this, then the final calculation can be easily worked around by
turning the final hash into a partial update.

Let me crank out a debugging patch for that.

Thanks,
--
Email: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt