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/crc: Move files into lib/crc/
Move all CRC files in lib/ into a subdirectory lib/crc/ to keep them from cluttering up the main lib/ directory. Reviewed-by: "Martin K. Petersen" <martin.petersen@oracle.com> Acked-by: Ingo Molnar <mingo@kernel.org> Acked-by: "Jason A. Donenfeld" <Jason@zx2c4.com> Link: https://lore.kernel.org/r/20250607200454.73587-2-ebiggers@kernel.org Signed-off-by: Eric Biggers <ebiggers@kernel.org>
This commit is contained in:
88
lib/Kconfig
88
lib/Kconfig
@@ -136,95 +136,9 @@ config TRACE_MMIO_ACCESS
|
||||
Create tracepoints for MMIO read/write operations. These trace events
|
||||
can be used for logging all MMIO read/write operations.
|
||||
|
||||
source "lib/crc/Kconfig"
|
||||
source "lib/crypto/Kconfig"
|
||||
|
||||
config CRC_CCITT
|
||||
tristate
|
||||
help
|
||||
The CRC-CCITT library functions. Select this if your module uses any
|
||||
of the functions from <linux/crc-ccitt.h>.
|
||||
|
||||
config CRC16
|
||||
tristate
|
||||
help
|
||||
The CRC16 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc16.h>.
|
||||
|
||||
config CRC_T10DIF
|
||||
tristate
|
||||
help
|
||||
The CRC-T10DIF library functions. Select this if your module uses
|
||||
any of the functions from <linux/crc-t10dif.h>.
|
||||
|
||||
config ARCH_HAS_CRC_T10DIF
|
||||
bool
|
||||
|
||||
config CRC_T10DIF_ARCH
|
||||
tristate
|
||||
default CRC_T10DIF if ARCH_HAS_CRC_T10DIF && CRC_OPTIMIZATIONS
|
||||
|
||||
config CRC_ITU_T
|
||||
tristate
|
||||
help
|
||||
The CRC-ITU-T library functions. Select this if your module uses
|
||||
any of the functions from <linux/crc-itu-t.h>.
|
||||
|
||||
config CRC32
|
||||
tristate
|
||||
select BITREVERSE
|
||||
help
|
||||
The CRC32 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc32.h> or <linux/crc32c.h>.
|
||||
|
||||
config ARCH_HAS_CRC32
|
||||
bool
|
||||
|
||||
config CRC32_ARCH
|
||||
tristate
|
||||
default CRC32 if ARCH_HAS_CRC32 && CRC_OPTIMIZATIONS
|
||||
|
||||
config CRC64
|
||||
tristate
|
||||
help
|
||||
The CRC64 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc64.h>.
|
||||
|
||||
config ARCH_HAS_CRC64
|
||||
bool
|
||||
|
||||
config CRC64_ARCH
|
||||
tristate
|
||||
default CRC64 if ARCH_HAS_CRC64 && CRC_OPTIMIZATIONS
|
||||
|
||||
config CRC4
|
||||
tristate
|
||||
help
|
||||
The CRC4 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc4.h>.
|
||||
|
||||
config CRC7
|
||||
tristate
|
||||
help
|
||||
The CRC7 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc7.h>.
|
||||
|
||||
config CRC8
|
||||
tristate
|
||||
help
|
||||
The CRC8 library functions. Select this if your module uses any of
|
||||
the functions from <linux/crc8.h>.
|
||||
|
||||
config CRC_OPTIMIZATIONS
|
||||
bool "Enable optimized CRC implementations" if EXPERT
|
||||
default y
|
||||
help
|
||||
Disabling this option reduces code size slightly by disabling the
|
||||
architecture-optimized implementations of any CRC variants that are
|
||||
enabled. CRC checksumming performance may get much slower.
|
||||
|
||||
Keep this enabled unless you're really trying to minimize the size of
|
||||
the kernel.
|
||||
|
||||
config XXHASH
|
||||
tristate
|
||||
|
||||
|
||||
Reference in New Issue
Block a user