linux-xiaomi-chiron/net/bluetooth
Marcel Holtmann 71653eb64b Bluetooth: Add selftest for ECDH key generation
Since the ECDH key generation takes a different path, it needs to be
tested as well. For this generate the public debug key from the private
debug key and compare both.

This also moves the seeding of the private key into the SMP calling code
to allow for easier re-use of the ECDH key generation helper.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Johan Hedberg <johan.hedberg@intel.com>
2017-04-30 16:52:43 +03:00
..
bnep
cmtp
hidp
rfcomm
6lowpan.c bluetooth: Do not set IFF_POINTOPOINT 2017-04-12 22:02:41 +02:00
a2mp.c
a2mp.h
af_bluetooth.c
amp.c
amp.h
ecdh_helper.c Bluetooth: Add selftest for ECDH key generation 2017-04-30 16:52:43 +03:00
ecdh_helper.h Bluetooth: convert smp and selftest to crypto kpp API 2017-04-25 04:53:42 +02:00
hci_conn.c
hci_core.c
hci_debugfs.c
hci_debugfs.h
hci_event.c
hci_request.c
hci_request.h
hci_sock.c Bluetooth: Fix user channel for 32bit userspace on 64bit kernel 2017-04-30 12:22:14 +02:00
hci_sysfs.c
Kconfig Bluetooth: convert smp and selftest to crypto kpp API 2017-04-25 04:53:42 +02:00
l2cap_core.c Bluetooth: L2CAP: Add l2cap_le_flowctl_send 2017-04-12 22:02:41 +02:00
l2cap_sock.c
leds.c
leds.h
lib.c
Makefile Bluetooth: convert smp and selftest to crypto kpp API 2017-04-25 04:53:42 +02:00
mgmt.c
mgmt_util.c
mgmt_util.h
sco.c
selftest.c Bluetooth: allocate data for kpp on heap 2017-04-30 12:22:05 +02:00
selftest.h
smp.c Bluetooth: Add selftest for ECDH key generation 2017-04-30 16:52:43 +03:00
smp.h