Bluetooth: Add support for ECDH test cases
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Dec 2014 04:48:36 +0000 (20:48 -0800)
committerJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Dec 2014 07:46:57 +0000 (09:46 +0200)
This patch adds the test cases for ECDH cryptographic functionality
used by Bluetooth Low Energy Secure Connections feature.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig
net/bluetooth/selftest.c

index 3296841..8d3b607 100644 (file)
@@ -77,4 +77,11 @@ config BT_SELFTEST
          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"
Simple merge