Skip to contentSkip to conversation

ceph: stop selecting CRYPTO and CRYPTO_AES

PATCH Superseded Eric Biggers 2 participants 3 messages Dec 4, 2025 – Dec 5, 2025 Ceph client

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ceph: stop selecting CRYPTO and CRYPTO_AES

None of the CEPH_FS code directly requires CRYPTO or CRYPTO_AES. These options do get selected indirectly anyway via CEPH_LIB, which does need them, but there is no need for CEPH_FS to select them too.

---
 fs/ceph/Kconfig | 2 --
 1 file changed, 2 deletions(-)
fs/ceph/Kconfig +0 -2
index 3e7def3d31c1..01a3e9a3a4fe 100644
@@ -2,12 +2,10 @@
 config CEPH_FS
 	tristate "Ceph distributed file system"
 	depends on INET
 	select CEPH_LIB
 	select CRC32
-	select CRYPTO_AES
-	select CRYPTO
 	select NETFS_SUPPORT
 	select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
 	default n
 	help
 	  Choose Y or M here to include support for mounting the

base-commit: b2c27842ba853508b0da00187a7508eb3a96c8f7

Signature · 1 line
2.52.0
maintainer
#1 lore raw
Quoted 4 lines · Eric Biggers

None of the CEPH_FS code directly requires CRYPTO or CRYPTO_AES. These options do get selected indirectly anyway via CEPH_LIB, which does need them, but there is no need for CEPH_FS to select them too.

Hi Eric,

I think the same goes for CRC32. Would you mind covering it in your patch?

Thanks,

Ilya

Quoted 28 lines
---
 fs/ceph/Kconfig | 2 --
 1 file changed, 2 deletions(-)
fs/ceph/Kconfig +0 -2
index 3e7def3d31c1..01a3e9a3a4fe 100644
@@ -2,12 +2,10 @@
 config CEPH_FS
        tristate "Ceph distributed file system"
        depends on INET
        select CEPH_LIB
        select CRC32
-       select CRYPTO_AES
-       select CRYPTO
        select NETFS_SUPPORT
        select FS_ENCRYPTION_ALGS if FS_ENCRYPTION
        default n
        help
          Choose Y or M here to include support for mounting the

base-commit: b2c27842ba853508b0da00187a7508eb3a96c8f7 --
2.52.0

#2 lore raw
Quoted 10 lines · Ilya Dryomov
Quoted 4 lines · Eric Biggers

None of the CEPH_FS code directly requires CRYPTO or CRYPTO_AES. These options do get selected indirectly anyway via CEPH_LIB, which does need them, but there is no need for CEPH_FS to select them too.

Hi Eric,

I think the same goes for CRC32. Would you mind covering it in your patch?

Good catch, I'll add that. Thanks.

- Eric