Bluetooth: Add support for ECDH test cases
[cascardo/linux.git] / net / bluetooth / Kconfig
index 600fb29..8d3b607 100644 (file)
@@ -10,6 +10,7 @@ menuconfig BT
        select CRYPTO
        select CRYPTO_BLKCIPHER
        select CRYPTO_AES
+       select CRYPTO_CMAC
        select CRYPTO_ECB
        select CRYPTO_SHA256
        help
@@ -39,11 +40,10 @@ menuconfig BT
          to Bluetooth kernel modules are provided in the BlueZ packages.  For
          more information, see <http://www.bluez.org/>.
 
-config BT_6LOWPAN
-       tristate "Bluetooth 6LoWPAN support"
-       depends on BT && 6LOWPAN
-       help
-         IPv6 compression over Bluetooth Low Energy.
+config BT_BREDR
+       bool "Bluetooth Classic (BR/EDR) features"
+       depends on BT
+       default y
 
 source "net/bluetooth/rfcomm/Kconfig"
 
@@ -53,4 +53,35 @@ source "net/bluetooth/cmtp/Kconfig"
 
 source "net/bluetooth/hidp/Kconfig"
 
+config BT_LE
+       bool "Bluetooth Low Energy (LE) features"
+       depends on BT
+       default y
+
+config BT_6LOWPAN
+       tristate "Bluetooth 6LoWPAN support"
+       depends on BT_LE && 6LOWPAN
+       help
+         IPv6 compression over Bluetooth Low Energy.
+
+config BT_SELFTEST
+       bool "Bluetooth self testing support"
+       depends on BT && DEBUG_KERNEL
+       help
+         Run self tests when initializing the Bluetooth subsystem.  This
+         is a developer option and can cause significant delay when booting
+         the system.
+
+         When the Bluetooth subsystem is built as module, then the test
+         cases are run first thing at module load time.  When the Bluetooth
+         subsystem is compiled into the kernel image, then the test cases
+         are run late in the initcall hierarchy.
+
+config BT_SELFTEST_ECDH
+       bool "ECDH test cases"
+       depends on BT_LE && BT_SELFTEST
+       help
+         Run test cases for ECDH cryptographic functionality used by the
+         Bluetooth Low Energy Secure Connections feature.
+
 source "drivers/bluetooth/Kconfig"