mesh: Save/restore network keys
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 1 replyIn review
- v15 patches 1 replySuperseded
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | mesh: Separate functions for net key add and updatemesh/ mesh/ mesh/ +2 more | +24 | 0 replies | |
| 2/5 | mesh: Add function to restore net key state from storagemesh/ mesh/ mesh/ | +82 | 0 replies | |
| 3/5 | mesh: Declare internal functions as staticmesh/ mesh/ | +73 | 0 replies | |
| 4/5 | mesh: Save key refresh phase state to node config filemesh/ mesh/ mesh/ +2 more | +72 | 0 replies | |
| 5/5 | mesh: Save newly added or updated net key to config filemesh/ mesh/ mesh/ +3 more | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH BlueZ 0/5 v2] mesh: Save/restore network keys
Rev.2: addressed Brina's comments.
This set of patches fixes the network key add/update processing. Network keys need to be saved to a local node configuration file when:
- a new node is provisioned
- new network key are added by a configuration client
- existing network key is updated by a configuration client during key refresh procedure.
Also, each saved network key is accompanied by a proper key refresh phase setting.
Inga Stotland (5):
mesh: Separate functions for net key add and update
mesh: Add function to restore net key state from storage
mesh: Declare internal functions as static
mesh: Save key refresh phase state to node config file
mesh: Save newly added or updated net key to config file
mesh/cfgmod-server.c | 8 +- mesh/mesh-db.c | 178 +++++++++++++++++----------- mesh/mesh-db.h | 6 +- mesh/net.c | 268 +++++++++++++++++++++++++++---------------- mesh/net.h | 12 +- mesh/node.c | 19 ++- mesh/storage.c | 22 ++-- mesh/storage.h | 7 +- 8 files changed, 326 insertions(+), 194 deletions(-)
Signature · 1 line
2.17.2