Bluetooth: Add skeleton for SMP self-tests
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Dec 2014 07:50:39 +0000 (09:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Dec 2014 07:54:33 +0000 (08:54 +0100)
This patch adds the initial skeleton and kernel config option for SMP
self-tests.

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

index 8d3b607..7de7463 100644 (file)
@@ -84,4 +84,11 @@ config BT_SELFTEST_ECDH
          Run test cases for ECDH cryptographic functionality used by the
          Bluetooth Low Energy Secure Connections feature.
 
+config BT_SELFTEST_SMP
+       bool "SMP test cases"
+       depends on BT_LE && BT_SELFTEST
+       help
+         Run test cases for SMP cryptographic functionality, including both
+         legacy SMP as well as the Secure Connections features.
+
 source "drivers/bluetooth/Kconfig"
Simple merge
Simple merge
Simple merge