crypto: Drop stale usages in various help texts
cover crypto: Drop stale usages in various help texts
Hi all,
This patch series drops stale references to subsystems that are using various crypto algoritms. It was triggered by "make oldconfig" in v7.0-rc1 showing new prompts about BLAKE2b, SHA-256, xxHash, and CRC32c algorithms. When querying these symbols, the corresponding help texts incorrectly claim they are used by btrfs.
Notw that even if correct, there is no need for such references, as all users should select the needed symbols anyway.
Geert Uytterhoeven (5):
crypto: Drop stale CRYPTO_BLAKE2B usage
crypto: Drop stale CRYPTO_SHA256 usage
crypto: Drop stale CRYPTO_XXHASH usage
crypto: Drop stale CRYPTO_CRC32C usage
crypto: Drop stale CRYPTO_CRC32 usage
crypto/Kconfig | 9 --------- 1 file changed, 9 deletions(-)
Signature · 12 lines
2.43.0
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus TorvaldsPATCH 1/5 crypto: Clean up CRYPTO_BLAKE2B usage
Btrfs stopped using this BLAKE2b implementations in commit fe11ac191ce0ad91 ("btrfs: switch to library APIs for checksums").
--- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-)
crypto/Kconfig +0 -2
@@ -876,8 +876,6 @@ config CRYPTO_BLAKE2B - blake2b-384 - blake2b-512 - Used by the btrfs filesystem. - See https://blake2.net for further information. config CRYPTO_CMAC
Signature · 1 line
2.43.0
PATCH 2/5 crypto: Clean up CRYPTO_SHA256 usage
In reply to Geert UytterhoevenNFS, Ceph, SMB, and Btrfs stopped using this SHA-256 implementation in commits c2c90a8b2620626c ("nfsd: use SHA-256 library API instead of crypto_shash API"), 27c0a7b05d13a0dc ("libceph: Use HMAC-SHA256 library instead of crypto_shash"), 924067ef183bd17f ("ksmbd: Use HMAC-SHA256 library for message signing and key generation"), and fe11ac191ce0ad91 ("btrfs: switch to library APIs for checksums").
--- crypto/Kconfig | 1 - 1 file changed, 1 deletion(-)
crypto/Kconfig +0 -1
@@ -963,7 +963,6 @@ config CRYPTO_SHA256 10118-3), including HMAC support. This is required for IPsec AH (XFRM_AH) and IPsec ESP (XFRM_ESP). - Used by the btrfs filesystem, Ceph, NFS, and SMB. config CRYPTO_SHA512 tristate "SHA-384 and SHA-512"
Signature · 1 line
2.43.0
PATCH 3/5 crypto: Clean up CRYPTO_XXHASH usage
In reply to Geert UytterhoevenBtrfs stopped using this xxHash implementation in commit fe11ac191ce0ad91 ("btrfs: switch to library APIs for checksums").
--- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-)
crypto/Kconfig +0 -2
@@ -1036,8 +1036,6 @@ config CRYPTO_XXHASH Extremely fast, working at speeds close to RAM limits. - Used by the btrfs filesystem. - endmenu menu "CRCs (cyclic redundancy checks)"
Signature · 1 line
2.43.0
PATCH 4/5 crypto: Clean up CRYPTO_CRC32C usage
In reply to Geert UytterhoevenExt4, jbd2, iSCSI, NVMeoF/TCP, and Btrfs stopped using this CRC32c implementation in commits f2b4fa19647e18a2 ("ext4: switch to using the crc32c library"), dd348f054b24a3f5 ("jbd2: switch to using the crc32c library"), 92186c1455a2d356 ("scsi: iscsi_tcp: Switch to using the crc32c library"), 427fff9aff295e2c ("nvme-tcp: use crc32c() and skb_copy_and_crc32c_datagram_iter()"), and fe11ac191ce0ad91 ("btrfs:
switch to library APIs for checksums").
--- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-)
crypto/Kconfig +0 -2
@@ -1053,8 +1053,6 @@ config CRYPTO_CRC32C on Communications, Vol. 41, No. 6, June 1993, selected for use with iSCSI. - Used by btrfs, ext4, jbd2, NVMeoF/TCP, and iSCSI. - config CRYPTO_CRC32 tristate "CRC32" select CRYPTO_HASH
Signature · 1 line
2.43.0
PATCH 5/5 crypto: Clean up CRYPTO_CRC32 usage
In reply to Geert UytterhoevenF2fs and RoCEv2 stopped using this CRC32 implementation in commits 3ca4bec40ee211cd ("f2fs: switch to using the crc32 library") and ccca5e8aa1457231 ("RDMA/rxe: switch to using the crc32 library").
--- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-)
crypto/Kconfig +0 -2
@@ -1060,8 +1060,6 @@ config CRYPTO_CRC32 help CRC32 CRC algorithm (IEEE 802.3) - Used by RoCEv2 and f2fs. - endmenu menu "Compression"
Signature · 1 line
2.43.0
Quoted 18 lines · Geert Uytterhoeven
Hi all,
This patch series drops stale references to subsystems that are using various crypto algoritms. It was triggered by "make oldconfig" in v7.0-rc1 showing new prompts about BLAKE2b, SHA-256, xxHash, and CRC32c algorithms. When querying these symbols, the corresponding help texts incorrectly claim they are used by btrfs.
Notw that even if correct, there is no need for such references, as all users should select the needed symbols anyway.
Geert Uytterhoeven (5):
crypto: Drop staleCRYPTO_BLAKE2Busage
crypto: Drop staleCRYPTO_SHA256usage
crypto: Drop staleCRYPTO_XXHASHusage
crypto: Drop staleCRYPTO_CRC32Cusage
crypto: Drop staleCRYPTO_CRC32usage
Quoted 2 lines
crypto/Kconfig | 9 --------- 1 file changed, 9 deletions(-)
Thanks for cleaning this up!
If there are no objections I'd like take these through libcrypto-fixes, given that they are related to the library conversions.
- Eric
Eric Biggers
AppliedQuoted 19 lines · Eric Biggers
Quoted 18 lines · Geert Uytterhoeven
Hi all,
This patch series drops stale references to subsystems that are using various crypto algoritms. It was triggered by "make oldconfig" in v7.0-rc1 showing new prompts about BLAKE2b, SHA-256, xxHash, and CRC32c algorithms. When querying these symbols, the corresponding help texts incorrectly claim they are used by btrfs.
Notw that even if correct, there is no need for such references, as all users should select the needed symbols anyway.
Geert Uytterhoeven (5):
crypto: Drop staleCRYPTO_BLAKE2Busage
crypto: Drop staleCRYPTO_SHA256usage
crypto: Drop staleCRYPTO_XXHASHusage
crypto: Drop staleCRYPTO_CRC32Cusage
crypto: Drop staleCRYPTO_CRC32usage
Quoted 7 lines
Quoted 2 lines
crypto/Kconfig | 9 --------- 1 file changed, 9 deletions(-)Thanks for cleaning this up!
If there are no objections I'd like take these through libcrypto-fixes, given that they are related to the library conversions.
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes
I adjusted the commit titles to make it clear that the changes are to the help text, not e.g. to selections of the symbols.
crypto: Clean up help text for CRYPTO_CRC32
- Eric
Hi Eric,
Quoted 26 lines · Eric Biggers
Quoted 17 lines · Eric Biggers
Quoted 16 lines · Geert Uytterhoeven
This patch series drops stale references to subsystems that are using various crypto algoritms. It was triggered by "make oldconfig" in v7.0-rc1 showing new prompts about BLAKE2b, SHA-256, xxHash, and CRC32c algorithms. When querying these symbols, the corresponding help texts incorrectly claim they are used by btrfs.
Notw that even if correct, there is no need for such references, as all users should select the needed symbols anyway.
Geert Uytterhoeven (5):
crypto: Drop staleCRYPTO_BLAKE2Busage
crypto: Drop staleCRYPTO_SHA256usage
crypto: Drop staleCRYPTO_XXHASHusage
crypto: Drop staleCRYPTO_CRC32Cusage
crypto: Drop staleCRYPTO_CRC32usageQuoted 7 lines
Quoted 2 lines
crypto/Kconfig | 9 --------- 1 file changed, 9 deletions(-)Thanks for cleaning this up!
If there are no objections I'd like take these through libcrypto-fixes, given that they are related to the library conversions.
Quoted 6 lines
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-fixes
I adjusted the commit titles to make it clear that the changes are to the help text, not e.g. to selections of the symbols.
crypto: Clean up help text for
CRYPTO_CRC32
Thank you!
Gr{oetje,eeting}s,
Geert
Signature · 5 lines
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected] In personal conversations with technical people, I call myself a hacker. But when I'm talking to journalists I just say "programmer" or something like that. -- Linus Torvalds