Skip to content

Central Net Key storage cache for multiple Nodes

Brian Gix linux-bluetooth 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest0 of 2 patches 0 repliesNew

Patches in v1 No applies recorded yet

None of the 2 patches the cover letter announces are in this archive.

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH BlueZ 0/2] Central Net Key storage cache for multiple Nodes

The strategy for Bluetooth Mesh is to allow each application that want to use mesh services to operate as an independant Node on one or more Mesh networks.

To enable this, at the lowest network layer, we are creating a cache of Network Keys and associated credentials (NIDs, Privacy Keys, Encryption Keys, etc). This will allow Network decryption to be done once per incoming packets, without requiring each "Node" on the local device to handle them redundantly.

Brian Gix (2):
mesh: Add centralized caching Net Key management
mesh: Refactor friend.c and net.c for central key DB

 Makefile.mesh    |   1 +
 mesh/friend.c    | 188 +++++++++-------------
 mesh/friend.h    |   2 +-
 mesh/net.c       | 476 +++++++++++++++----------------------------------------
 mesh/net.h       |  14 +-
 mesh/net_keys.c  | 326 +++++++++++++++++++++++++++++++++++++
 mesh/net_keys.h  |  33 ++++
 mesh/provision.c |   5 +-
 8 files changed, 572 insertions(+), 473 deletions(-)
 create mode 100644 mesh/net_keys.c
 create mode 100644 mesh/net_keys.h
Signature · 1 line
2.14.4