Skip to contentSkip to conversation

Bluetooth: Add support for ECDH test cases

RFC In review Marcel Holtmann 1 participant 1 message Dec 30, 2014

Subsystems (2)
lore
Share & tools
lore

Marcel Holtmann

author maintainer
#0 lore raw

RFC 2/2 Bluetooth: Add support for ECDH test cases

From: Johan Hedberg <[email protected]>

This patch adds the test cases for ECDH cryptographic functionality used by Bluetooth Low Energy Secure Connections feature.

---
 net/bluetooth/Kconfig    |   7 ++
 net/bluetooth/selftest.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++-
 2 files changed, 175 insertions(+), 1 deletion(-)
net/bluetooth/Kconfig +7 -0
index 3296841531c9..8d3b607a72be 100644
@@ -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"
net/bluetooth/selftest.c +168 -1

183 lines not on this page · raw message

Signature · 1 line
2.1.0