Bluetooth: Add self-tests for SMP crypto functions
authorJohan Hedberg <johan.hedberg@intel.com>
Sat, 25 Oct 2014 19:15:39 +0000 (21:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 25 Oct 2014 19:33:57 +0000 (21:33 +0200)
This patch adds self-tests for the c1 and s1 crypto functions used for
SMP pairing. The data used is the sample data from the core
specification.

Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/smp.c

Simple merge