mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 14:53:58 -04:00
crypto: inside-secure - remove crc32 support
The crc32 acceleration in the inside-secure driver is accessible only as an asynchronous hash. However, there seems to be no corresponding user of crc32 in the kernel that supports asynchronous hashes. Therefore, this code seems to be unused. The patch that added this code provided no justification for its inclusion. All devicetree bindings for this accelerator are for arm64; arm64 CPUs often have CRC or PMULL instructions, which already accelerate crc32 very well. And these actually work with the crc32 users in the kernel, unlike this driver which doesn't. Remove this unnecessary code. Cc: Antoine Tenart <atenart@kernel.org> Acked-by: Ard Biesheuvel <ardb@kernel.org> Link: https://lore.kernel.org/r/20250531204244.24648-1-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
@@ -1218,7 +1218,6 @@ static struct safexcel_alg_template *safexcel_algs[] = {
|
||||
&safexcel_alg_xts_aes,
|
||||
&safexcel_alg_gcm,
|
||||
&safexcel_alg_ccm,
|
||||
&safexcel_alg_crc32,
|
||||
&safexcel_alg_cbcmac,
|
||||
&safexcel_alg_xcbcmac,
|
||||
&safexcel_alg_cmac,
|
||||
|
||||
Reference in New Issue
Block a user