]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
Bluetooth: Remove unneeded crypto kconfig selections
authorEric Biggers <ebiggers@kernel.org>
Tue, 21 Apr 2026 23:09:16 +0000 (16:09 -0700)
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>
Thu, 11 Jun 2026 18:24:38 +0000 (14:24 -0400)
Remove several kconfig selections that are no longer needed:

  - CRYPTO_SKCIPHER and CRYPTO_ECB have been unneeded since
    commit a4770e1117f1 ("Bluetooth: Switch SMP to
    crypto_cipher_encrypt_one()") in 2016.

  - CRYPTO_SHA256 has been unneeded since
    commit e7b02296fb40 ("Bluetooth: Remove BT_HS") in 2024.

Signed-off-by: Eric Biggers <ebiggers@kernel.org>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
net/bluetooth/Kconfig

index ee6457d1a5eed3f40f9dbe64bfe2ffcb96f676ee..5a8bf91067103716478e2c68f8142f65e911b2bb 100644 (file)
@@ -9,12 +9,9 @@ menuconfig BT
        depends on RFKILL || !RFKILL
        select CRC16
        select CRYPTO
-       select CRYPTO_SKCIPHER
        select CRYPTO_LIB_AES
        imply CRYPTO_AES
        select CRYPTO_CMAC
-       select CRYPTO_ECB
-       select CRYPTO_SHA256
        select CRYPTO_ECDH
        help
          Bluetooth is low-cost, low-power, short-range wireless technology.