diff options
| author | Eric Biggers <ebiggers@google.com> | 2024-12-01 17:20:45 -0800 |
|---|---|---|
| committer | Eric Biggers <ebiggers@google.com> | 2024-12-01 17:23:13 -0800 |
| commit | be3c45b070cba3be4dd248b38d4798e3e2859451 (patch) | |
| tree | bf2032af9835f448f0e8d3e80d52e998842adc3d /lib/Kconfig | |
| parent | 31e4cdde4d8b4bc358f3e6b44647ead3cba13aba (diff) | |
| download | linux-be3c45b070cba3be4dd248b38d4798e3e2859451.tar.gz linux-be3c45b070cba3be4dd248b38d4798e3e2859451.tar.bz2 linux-be3c45b070cba3be4dd248b38d4798e3e2859451.zip | |
lib/crc-t10dif: stop wrapping the crypto API
In preparation for making the CRC-T10DIF library directly optimized for
each architecture, like what has been done for CRC32, get rid of the
weird layering where crc_t10dif_update() calls into the crypto API.
Instead, move crc_t10dif_generic() into the crc-t10dif library module,
and make crc_t10dif_update() just call crc_t10dif_generic().
Acceleration will be reintroduced via crc_t10dif_arch() in the following
patches.
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Reviewed-by: Martin K. Petersen <martin.petersen@oracle.com>
Link: https://lore.kernel.org/r/20241202012056.209768-2-ebiggers@kernel.org
Signed-off-by: Eric Biggers <ebiggers@google.com>
Diffstat (limited to 'lib/Kconfig')
| -rw-r--r-- | lib/Kconfig | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Kconfig b/lib/Kconfig index d0c2dc0dac32..be59f7cdf448 100644 --- a/lib/Kconfig +++ b/lib/Kconfig @@ -156,8 +156,6 @@ config CRC16 config CRC_T10DIF tristate "CRC calculation for the T10 Data Integrity Field" - select CRYPTO - select CRYPTO_CRCT10DIF help This option is only needed if a module that's not in the kernel tree needs to calculate CRC checks for use with the |
