Bluetooth: Add self-tests through a dedicated module
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest6 patches 0 repliesNew
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/6 | Bluetooth: Export SMP crypto functions for self-test modulenet/ net/ | +79 | 0 replies | |
| 2/6 | Bluetooth: Export ECDH functions for self-test modulenet/ | +2 | 0 replies | |
| 3/6 | Bluetooth: Add skeleton for self-test modulenet/ net/ net/ | +65 | 1 reply | |
| 4/6 | Bluetooth: Add legacy SMP self-testsnet/ | +121 | 0 replies | |
| 5/6 | Bluetooth: Add LE SC SMP self-testsnet/ | +167 | 0 replies | |
| 6/6 | Bluetooth: Add ECDH self-testsnet/ | +156 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/6] Bluetooth: Add self-tests through a dedicated module
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