Bluetooth: Add dedicated SMP (de)initialization functions
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest5 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | Bluetooth: Fix hci_update_random_address() error return for no cryptonet/ | +6 | 0 replies | |
| 2/5 | Bluetooth: Fix IRK lookup when tfm_aes is not availablenet/ | +3 | 0 replies | |
| 3/5 | Bluetooth: Refactor SMP (de)initialization into separate functionsnet/ | +34 | 0 replies | |
| 4/5 | Bluetooth: Move SMP initialization after HCI initnet/ | +3 | 0 replies | |
| 5/5 | Bluetooth: Move SMP (de)initialization to smp.cnet/ net/ net/ | +31 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/5] Bluetooth: Add dedicated SMP (de)initialization functions
Hi,
For us to have a clean way to create the root (per-adapter) SMP L2CAP channel it's best to move the code responsible for this to specialized functions in smp.c. For now this only involves the AES crypto context creation and destruction.
Johan
----------------------------------------------------------------
Johan Hedberg (5):
Bluetooth: Fix hci_update_random_address() error return for no crypto
Bluetooth: Fix IRK lookup when tfm_aes is not available
Bluetooth: Refactor SMP (de)initialization into separate functions
Bluetooth: Move SMP initialization after HCI init
Bluetooth: Move SMP (de)initialization to smp.c
net/bluetooth/hci_core.c | 27 +++++++++++++-------------- net/bluetooth/smp.c | 26 ++++++++++++++++++++++++++ net/bluetooth/smp.h | 3 +++ 3 files changed, 42 insertions(+), 14 deletions(-)