[PATCH] scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5

Eric Biggers posted 1 patch 2 months, 1 week ago
drivers/scsi/Kconfig | 2 --
1 file changed, 2 deletions(-)
[PATCH] scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5
Posted by Eric Biggers 2 months, 1 week ago
As far as I can tell, CRYPTO_MD5 has been unnecessary here ever since it
was added by commit c899e4ef96f0 ("[SCSI] open-iscsi/linux-iscsi-5
Initiator: Kconfig update") in 2005.

CRYPTO was needed until commit 92186c1455a2 ("scsi: iscsi_tcp: Switch to
using the crc32c library"), but is no longer needed.

Remove these unnecessary kconfig selections.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
---

This patch is targeting the scsi tree

 drivers/scsi/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/drivers/scsi/Kconfig b/drivers/scsi/Kconfig
index f811ce473c2ab..fc8e8b0bfa391 100644
--- a/drivers/scsi/Kconfig
+++ b/drivers/scsi/Kconfig
@@ -302,12 +302,10 @@ if SCSI_LOWLEVEL && SCSI
 
 config ISCSI_TCP
 	tristate "iSCSI Initiator over TCP/IP"
 	depends on SCSI && INET
 	select CRC32
-	select CRYPTO
-	select CRYPTO_MD5
 	select SCSI_ISCSI_ATTRS
 	help
 	 The iSCSI Driver provides a host with the ability to access storage
 	 through an IP network. The driver uses the iSCSI protocol to transport
 	 SCSI requests and responses over a TCP/IP network between the host

base-commit: 2febe6e6ee6e34c7754eff3c4d81aa7b0dcb7979
-- 
2.53.0
Re: [PATCH] scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5
Posted by Martin K. Petersen 2 months ago
On Sat, 04 Apr 2026 13:30:03 -0700, Eric Biggers wrote:

> As far as I can tell, CRYPTO_MD5 has been unnecessary here ever since it
> was added by commit c899e4ef96f0 ("[SCSI] open-iscsi/linux-iscsi-5
> Initiator: Kconfig update") in 2005.
> 
> CRYPTO was needed until commit 92186c1455a2 ("scsi: iscsi_tcp: Switch to
> using the crc32c library"), but is no longer needed.
> 
> [...]

Applied to 7.1/scsi-queue, thanks!

[1/1] scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5
      https://git.kernel.org/mkp/scsi/c/7aa0f56d4b48

-- 
Martin K. Petersen
Re: [PATCH] scsi: iscsi_tcp: Remove unneeded selections of CRYPTO and CRYPTO_MD5
Posted by Martin K. Petersen 2 months ago
Eric,

> As far as I can tell, CRYPTO_MD5 has been unnecessary here ever since
> it was added by commit c899e4ef96f0 ("[SCSI] open-iscsi/linux-iscsi-5
> Initiator: Kconfig update") in 2005.

Applied to 7.1/scsi-staging, thanks!

-- 
Martin K. Petersen