Bluetooth: Add legacy SMP tests
authorJohan Hedberg <johan.hedberg@intel.com>
Tue, 30 Dec 2014 07:50:40 +0000 (09:50 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 30 Dec 2014 07:54:33 +0000 (08:54 +0100)
commitcfc4198e714fcee1a68c558d243e7e4f8de85577
treed1669f0a58c330df08f26ade07a31464029dd81e
parent0a2b0f0452e2499a1037305fcfc314d0cdeb5260
Bluetooth: Add legacy SMP tests

This patch adds self-tests for legacy SMP crypto functions. The sample
data has been taken 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