Hi, This patch set re-introduces the self-tests that were already earlier attempted to be merge. The failure with the first attempt was that the tests rely on crypto subsystem features which may not be available when the Bluetooth subsystem gets loaded (using a subsystem priority instead of normal module prioirity). By having the tests in a separate module this prioirty conflict doesn't occur. ---------------------------------------------------------------- Johan Hedberg (6): Bluetooth: Export SMP crypto functions for self-test module Bluetooth: Export ECDH functions for self-test module Bluetooth: Add skeleton for self-test module Bluetooth: Add legacy SMP self-tests Bluetooth: Add LE SC SMP self-tests Bluetooth: Add ECDH self-tests net/bluetooth/Kconfig | 6 + net/bluetooth/Makefile | 15 +- net/bluetooth/ecc.c | 2 + net/bluetooth/selftest.c | 494 ++++++++++++++++++++++++++++++++++++++++++++++ net/bluetooth/smp.c | 107 +++++----- net/bluetooth/smp.h | 22 +++ 6 files changed, 590 insertions(+), 56 deletions(-) create mode 100644 net/bluetooth/selftest.c -- To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html