Bluetooth: convert smp and selftest to crypto kpp API
authorSalvatore Benedetto <salvatore.benedetto@intel.com>
Mon, 24 Apr 2017 12:13:20 +0000 (13:13 +0100)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 25 Apr 2017 02:53:42 +0000 (04:53 +0200)
commit58771c1cb0023fdd744e76d6cad7716dc4f579ee
tree9a07e2aad2c072f3157d62d7fd5a60dfb91a044e
parente3a724edeec3836ed44675a6587a6db7b6b68dbe
Bluetooth: convert smp and selftest to crypto kpp API

* Convert both smp and selftest to crypto kpp API
* Remove module ecc as no more required
* Add ecdh_helper functions for wrapping kpp async calls

This patch has been tested *only* with selftest, which is called on
module loading.

Signed-off-by: Salvatore Benedetto <salvatore.benedetto@intel.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
net/bluetooth/Kconfig
net/bluetooth/Makefile
net/bluetooth/ecc.c [deleted file]
net/bluetooth/ecc.h [deleted file]
net/bluetooth/ecdh_helper.c [new file with mode: 0644]
net/bluetooth/ecdh_helper.h [new file with mode: 0644]
net/bluetooth/selftest.c
net/bluetooth/smp.c