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)
commitc6992e9ef2a17e9738b7bb8a03a7fe581a8f9977
tree737c1c327e86af27a8c96b4ad6a358fa4b158719
parent4cd3362da899a59955146851dd860198b0aaaa75
Bluetooth: Add self-tests for SMP crypto functions

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