Re: [PATCH] crypto: padlock-sha - Disable broken driver

From: AlanSong-oc
Date: Mon Nov 17 2025 - 04:48:35 EST



On 11/17/2025 2:39 AM, Eric Biggers wrote:

This driver is known broken, as it computes the wrong SHA-1 and SHA-256
hashes. Correctness needs to be the first priority for cryptographic
code. Just disable it, allowing the standard (and actually correct)
SHA-1 and SHA-256 implementations to take priority.

Following Herbert Xu's suggestion(https://lore.kernel.org/linux-crypto/aFkdNoQFmr8-x4cu@xxxxxxxxxxxxxxxxxxx/);, we have prepared a new version of the patch to address this issue. Since the code needs to remain compatible with older platforms, we are still conducting extensive testing. Once the testing is complete, I will submit the finalized patch immediately.

Best Regards
AlanSong-oc