mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/herbert/cryptodev-2.6.git
synced 2026-04-18 03:23:53 -04:00
lib/crc32: remove other generic implementations
Now that we've standardized on the byte-by-byte implementation of CRC32 as the only generic implementation (see previous commit for the rationale), remove the code for the other implementations. Tested with crc_kunit. Link: https://lore.kernel.org/r/20250123212904.118683-3-ebiggers@kernel.org Reviewed-by: Ard Biesheuvel <ardb@kernel.org> Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com> Signed-off-by: Eric Biggers <ebiggers@google.com>
This commit is contained in:
@@ -189,7 +189,6 @@ config CRC32
|
||||
tristate "CRC32/CRC32c functions"
|
||||
default y
|
||||
select BITREVERSE
|
||||
select CRC32_SARWATE
|
||||
help
|
||||
This option is provided for the case where no in-kernel-tree
|
||||
modules require CRC32/CRC32c functions, but a module built outside
|
||||
@@ -203,9 +202,6 @@ config CRC32_ARCH
|
||||
tristate
|
||||
default CRC32 if ARCH_HAS_CRC32 && CRC_OPTIMIZATIONS
|
||||
|
||||
config CRC32_SARWATE
|
||||
bool
|
||||
|
||||
config CRC64
|
||||
tristate "CRC64 functions"
|
||||
help
|
||||
|
||||
Reference in New Issue
Block a user