Skip to content

Bluetooth: Encryption Key Size fixes & improvements

Johan Hedberg linux-bluetooth 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5Bluetooth: Add debugfs support for max LE encryption key sizenet/bluetooth/smp.c+57 -40 replies
2/5Bluetooth: Add debugfs support for min LE encryption key sizenet/bluetooth/smp.c+50 -10 replies
3/5Bluetooth: Move SC-only check outside of BT_CONFIG branchnet/bluetooth/hci_event.c+12 -120 replies
4/5Bluetooth: Read encryption key size for BR/EDR connectionsinclude/net/bluetooth/hci.h net/bluetooth/hci_event.c+97 -00 replies
5/5Bluetooth: Use actual encryption key size for SMP over BR/EDRnet/bluetooth/smp.c+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] Bluetooth: Encryption Key Size fixes & improvements

Hi,

This set of patches:

- adds greater control of the LE Encryption Key Size through debugfs
- adds reading of the encryption key size for BR/EDR connections and uses the result appropriately for generating LTKs with SMP over BR/EDR

Johan

----------------------------------------------------------------
Johan Hedberg (5):
Bluetooth: Add debugfs support for max LE encryption key size
Bluetooth: Add debugfs support for min LE encryption key size
Bluetooth: Move SC-only check outside of BT_CONFIG branch
Bluetooth: Read encryption key size for BR/EDR connections
Bluetooth: Use actual encryption key size for SMP over BR/EDR

 include/net/bluetooth/hci.h |  10 ++++
 net/bluetooth/hci_event.c   | 111 ++++++++++++++++++++++++++++++++++++-----
 net/bluetooth/smp.c         | 114 ++++++++++++++++++++++++++++++++++++++++---
 3 files changed, 217 insertions(+), 18 deletions(-)