Subject: pull request: bluetooth-next 2017-04-30

From: Johan Hedberg <[email-masked]>
Date: Sun, 30 Apr 2017 17:09:28 +0300

Hi Dave,

Here's one last batch of Bluetooth patches in the bluetooth-next tree
targeting the 4.12 kernel.

 - Remove custom ECDH implementation and use new KPP API instead
 - Add protocol checks to hci_ldisc
 - Add module license to HCI UART Nokia H4+ driver
 - Minor fix for 32bit user space - 64 bit kernel combination

Please let me know if there are any issues pulling. Thanks.

Johan

---
The following changes since commit e3a724edeec3836ed44675a6587a6db7b6b68dbe:

  sparc64: Support cbcond instructions in eBPF JIT. (2017-04-24 15:56:21 -0700)

are available in the git repository at:

  git://git.kernel.org/pub/scm/linux/kernel/git/bluetooth/bluetooth-next.git for-upstream

for you to fetch changes up to 71653eb64bcca6110c42aadfd50b8d54d3a88079:

  Bluetooth: Add selftest for ECDH key generation (2017-04-30 16:52:43 +0300)

----------------------------------------------------------------
Dean Jenkins (3):
      Bluetooth: hci_ldisc: Add protocol check to hci_uart_send_frame()
      Bluetooth: hci_ldisc: Add protocol check to hci_uart_dequeue()
      Bluetooth: hci_ldisc: Add protocol check to hci_uart_tx_wakeup()

Frédéric Danis (1):
      Bluetooth: Add module license for HCI UART Nokia H4+

Marcel Holtmann (2):
      Bluetooth: zero kpp input for key generation
      Bluetooth: Add selftest for ECDH key generation

Salvatore Benedetto (2):
      Bluetooth: convert smp and selftest to crypto kpp API
      Bluetooth: allocate data for kpp on heap

Szymon Janc (1):
      Bluetooth: Fix user channel for 32bit userspace on 64bit kernel

 drivers/bluetooth/hci_ldisc.c |  14 +-
 drivers/bluetooth/hci_nokia.c |   7 +
 net/bluetooth/Kconfig         |   1 +
 net/bluetooth/Makefile        |   2 +-
 net/bluetooth/ecc.c           | 816 ------------------------------------------
 net/bluetooth/ecc.h           |  54 ---
 net/bluetooth/ecdh_helper.c   | 231 ++++++++++++
 net/bluetooth/ecdh_helper.h   |  27 ++
 net/bluetooth/hci_sock.c      |   3 +-
 net/bluetooth/selftest.c      |  28 +-
 net/bluetooth/smp.c           |  46 ++-
 11 files changed, 342 insertions(+), 887 deletions(-)
 delete mode 100644 net/bluetooth/ecc.c
 delete mode 100644 net/bluetooth/ecc.h
 create mode 100644 net/bluetooth/ecdh_helper.c
 create mode 100644 net/bluetooth/ecdh_helper.h