Bluetooth: Add support for ECDH test cases
Subsystems (2)
Marcel Holtmann
maintainerRFC 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.
Signed-off-by Johan Hedberg <[email protected]>
Signed-off-by Marcel Holtmann <[email protected]>
--- net/bluetooth/Kconfig | 7 ++ net/bluetooth/selftest.c | 169 ++++++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 175 insertions(+), 1 deletion(-)
net/bluetooth/Kconfig +7 -0
@@ -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