From nobody Thu Apr 16 17:38:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CEBAF3D9045; Thu, 26 Feb 2026 14:46:15 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117175; cv=none; b=FdsFCLW26PhEhhXoXaqY2ndrj6X3zK7rgV0sOfFDepki5yVSc2b4gvLQxKJetG57pEouSEBb2txbidnszrUUlrcQjMoKUjKGoyhRU8dix+QiS8T22Pc+NFTf3pVBYxNp0dkS4D9DM/Fn7PpTkGtlPiMqePv2Uh8ltB8fY7GoGk8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117175; c=relaxed/simple; bh=kR1hjMinjNvTwkQ2I8iZSR/aiZt5ZceOZNw87uJHnC4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=d5x+EBqnbRuYTJhilce6NSopLwC0YbysItB4otpxAiFcDmUeKnyFkaIeLYaAC1HTUIENWV1foIQc1TIea0o/Tlu9YM6JZLHDxd5eLoD6XRN4tIdrjGv4zShnNJz6ZJPKH9CHQYEe+QDA+pVaTPV26DhEVmpWprymjMGKeGdQ11o= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 556A3C19422; Thu, 26 Feb 2026 14:46:14 +0000 (UTC) From: Geert Uytterhoeven To: Eric Biggers , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 1/5] crypto: Clean up CRYPTO_BLAKE2B usage Date: Thu, 26 Feb 2026 15:46:05 +0100 Message-ID: <98b983d2f2bddf0e5e8e1c970446c3c64527ef89.1772116160.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Btrfs stopped using this BLAKE2b implementations in commit fe11ac191ce0ad91 ("btrfs: switch to library APIs for checksums"). Signed-off-by: Geert Uytterhoeven --- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index e2b4106ac961eb52..8bc95e69faa5557a 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -876,8 +876,6 @@ config CRYPTO_BLAKE2B - blake2b-384 - blake2b-512 =20 - Used by the btrfs filesystem. - See https://blake2.net for further information. =20 config CRYPTO_CMAC --=20 2.43.0 From nobody Thu Apr 16 17:38:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9CB623D7D9E; Thu, 26 Feb 2026 14:46:17 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117177; cv=none; b=QaRgSKECLbXKymFMmvAq0xKqSqHQXjFX2SZeDmgldV0iRNmtC5vymShXxGP+b0CUrZCZF/u8sc4Ibs7Fs4h7+TBwFcb7cNKnYt7ZTjWFknd/RnpND9x/AAOK9A7rJr8j3EHaBy9TlvFVLAP987ug6qTepSRtM4KFiWgyHrtiWPM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117177; c=relaxed/simple; bh=ZY0vIEF9e/lYHWqUxGvcUmBjwFOq11AFQ3s6/woygAs=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=ogBhaY1eiOVEHnO8iicUir9+KAQ75iEaHgxsfvlnRN2Z+kfvKY8n+RsDmTqurLZEyb1Fsc7ilvrDAgwE21uSXvz0iUTuF/neaoEgN/5yjhiIBSUkMFxHrJkpTVbw59AB/C93qK+pYrYflJANJE4DJ+b8lfgJS+uZ/ORrowT3ksM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0C9E3C19422; Thu, 26 Feb 2026 14:46:15 +0000 (UTC) From: Geert Uytterhoeven To: Eric Biggers , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 2/5] crypto: Clean up CRYPTO_SHA256 usage Date: Thu, 26 Feb 2026 15:46:06 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" NFS, 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"). Signed-off-by: Geert Uytterhoeven --- crypto/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 8bc95e69faa5557a..c84fda3acdbda57c 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -963,7 +963,6 @@ config CRYPTO_SHA256 10118-3), including HMAC support. =20 This is required for IPsec AH (XFRM_AH) and IPsec ESP (XFRM_ESP). - Used by the btrfs filesystem, Ceph, NFS, and SMB. =20 config CRYPTO_SHA512 tristate "SHA-384 and SHA-512" --=20 2.43.0 From nobody Thu Apr 16 17:38:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55971335BBB; Thu, 26 Feb 2026 14:46:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117179; cv=none; b=p10F3fFqXq6Hr8UyXDr8GabFzpyo60lqtnNAsN3Vls/qUPlcuo3GOzvmyYDC27Tn8iMB9fjk0TmelaAiPtlHYVb+N5RjteYFnZOBCYd0NnRW51EhHOsqvPc579EhlWbT9EzMzFssC1UbWFYh4VxzHln5G7Bc9qLbT0FfMyF4LpU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117179; c=relaxed/simple; bh=MS2dV98khEDsVe1bAQd9M5OGNZSmvkPi0bQ7XxrStyU=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=oqaVktiT9DQicfNOA2Yg9fSSMyCH5KFOQT/Mzf8m7B6rTowb3Ak/QZOYIy3dQHKbzPpVzI/5DU5UI1/ygRqijr3odmTDWV5S018B0VoPULaSsyf5ZrGDd7oREE+M59C4n5RFx8DI0wGCIDdE+sVxuaDKA1z+AFu+rv2Xzu62ucA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id AEB30C19423; Thu, 26 Feb 2026 14:46:17 +0000 (UTC) From: Geert Uytterhoeven To: Eric Biggers , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 3/5] crypto: Clean up CRYPTO_XXHASH usage Date: Thu, 26 Feb 2026 15:46:07 +0100 Message-ID: <3b632975201074ccaa129f4901a66aff87b19742.1772116160.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Btrfs stopped using this xxHash implementation in commit fe11ac191ce0ad91 ("btrfs: switch to library APIs for checksums"). Signed-off-by: Geert Uytterhoeven --- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index c84fda3acdbda57c..49293b656aff6f52 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1036,8 +1036,6 @@ config CRYPTO_XXHASH =20 Extremely fast, working at speeds close to RAM limits. =20 - Used by the btrfs filesystem. - endmenu =20 menu "CRCs (cyclic redundancy checks)" --=20 2.43.0 From nobody Thu Apr 16 17:38:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E6AEA3E9580; Thu, 26 Feb 2026 14:46:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117180; cv=none; b=EfMckGI1fTKGJ7nj5GFCvFFj0ib8GlEgEW7BzAqUeqkk1XQ/QhPn7MqcBzZmrzWPyL9XeMiI01yACGTdFhdeUaG+LqRQOYKQP4TeEZ4mzA3WO5beP+EHGEIziPJsbJwYn0f3k7+9UJRiz8LBOLQrUQ2qBXUHKlkmtZjeSo7x0K8= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117180; c=relaxed/simple; bh=WDbqoRlc5VdtA9YEmUjCjKCV+nqlQWXzMmsmY+2bWsw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=WS8JFCjTO6jTLIzTuJYetz7zZAdCT9RXo0BHrFbpdmv5fq5njxmt5GtLCKbyPi5jX+H8O4xbE6bg71FsA32Ndk53lgIv01dXugwmgf410cSBpxV7PaJsw5PQ1RpDUH1yqommSQtagTiHLJt6McQll2eJnDzsEDwtlgkyZtFO4ho= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 66828C19424; Thu, 26 Feb 2026 14:46:19 +0000 (UTC) From: Geert Uytterhoeven To: Eric Biggers , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 4/5] crypto: Clean up CRYPTO_CRC32C usage Date: Thu, 26 Feb 2026 15:46:08 +0100 Message-ID: X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Ext4, 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"). Signed-off-by: Geert Uytterhoeven --- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 49293b656aff6f52..5e66de2948ed02f9 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1053,8 +1053,6 @@ config CRYPTO_CRC32C on Communications, Vol. 41, No. 6, June 1993, selected for use with iSCSI. =20 - Used by btrfs, ext4, jbd2, NVMeoF/TCP, and iSCSI. - config CRYPTO_CRC32 tristate "CRC32" select CRYPTO_HASH --=20 2.43.0 From nobody Thu Apr 16 17:38:31 2026 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id A59B23E9580; Thu, 26 Feb 2026 14:46:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117182; cv=none; b=nFm8vX5k+0OGAAPGoK2xmgP1ouxphxRcBHKbp7Biii4BrQRIeiFUsq08w8r3cLqHlsb9/188pk6SnrL00E2WrYGLHejSWT+Lia7dgTp+/kcQnunyHIWpxJ2S7bd0mcF4B6pSKUZp4v2OjgUBxrdhFe5xD3e/KGpp3hmU9pbB+rc= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1772117182; c=relaxed/simple; bh=sFFfItmaKIbkDnrCPQAQMxVftGsTIbo583JAPwG/djw=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cPII6Ak5x1MLpJ2QCLq2QmE835kJJ/38s3oFdUY68OhUTjoT2dJH3X2dxVnSfCWrYtZBpaxdpjYNgtXnkdOL/zY9N9inSeEgsuvF8+p8S/1I6zSTYE5nze3fSLTfSwjDILFMj+SjvwPdyo+1yUHKh5LRGQQDo1rWMgcjaL5v7hM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 14FF8C116C6; Thu, 26 Feb 2026 14:46:20 +0000 (UTC) From: Geert Uytterhoeven To: Eric Biggers , Herbert Xu , "David S . Miller" Cc: linux-crypto@vger.kernel.org, linux-kernel@vger.kernel.org, Geert Uytterhoeven Subject: [PATCH 5/5] crypto: Clean up CRYPTO_CRC32 usage Date: Thu, 26 Feb 2026 15:46:09 +0100 Message-ID: <0f76ebf05bb1b6ca50db97988f9ac20944534b4c.1772116160.git.geert+renesas@glider.be> X-Mailer: git-send-email 2.43.0 In-Reply-To: References: Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" F2fs 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"). Signed-off-by: Geert Uytterhoeven --- crypto/Kconfig | 2 -- 1 file changed, 2 deletions(-) diff --git a/crypto/Kconfig b/crypto/Kconfig index 5e66de2948ed02f9..b4bb85e8e2261209 100644 --- a/crypto/Kconfig +++ b/crypto/Kconfig @@ -1060,8 +1060,6 @@ config CRYPTO_CRC32 help CRC32 CRC algorithm (IEEE 802.3) =20 - Used by RoCEv2 and f2fs. - endmenu =20 menu "Compression" --=20 2.43.0