[PATCH v2 0/5] Bluetooth: Add SMP self-tests through debugfs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Here's a second version which removes the following style of sparse
warnings:

	net/bluetooth/smp.c:3031:24: warning: duplicate const

>From the original cover letter:

Here's yet another attempt at introducing the SMP self-tests. The
objection to the separate module approach was the need to always export
the low-level SMP crypto functions. This set of patches takes a
different approach by triggering the tests through debugfs. This way
only two new bt_smp_init & bt_smp_exit function need to be exposed from
smp.c. And before anyone asks, the extra bt_ prefix is because there's
otherwise a conflict with another already existing "smp_init" function
in the kernel.

Once enabled the new tests can be run by issuing the following command:

	cat /sys/kernel/debug/bluetooth/smp_selftest

Johan

----------------------------------------------------------------
Johan Hedberg (5):
      Bluetooth: Fix const declarations for smp_f5 and smp_f6
      Bluetooth: Add skeleton for debugfs-based SMP self-tests
      Bluetooth: Add SMP self-tests for legacy crypto functions
      Bluetooth: Add SMP self-tests for SC crypto functions
      Bluetooth: Add SMP self-tests for ECDH functionality

 include/net/bluetooth/bluetooth.h |   3 +
 net/bluetooth/Kconfig             |   9 +
 net/bluetooth/af_bluetooth.c	   |   4 +
 net/bluetooth/smp.c               | 520 +++++++++++++++++++++++++++++++++++++-
 4 files changed, 533 insertions(+), 3 deletions(-)

--
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



[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux