summaryrefslogtreecommitdiff
path: root/mesh/appkey.h
Commit message (Collapse)AuthorAgeFilesLines
* mesh: Make key_aid and net_key_id naming consistentMichał Lowas-Rzechonek2022-02-041-1/+1
| | | | | | | | - key_aid refers to application key AID - net_key_id refers to unique, internal id of the network key, used in net-keys.h Also, remove unused mesh_frnd_pkt struct.
* mesh: Update AppKeys on transition to Phase 0Michael N. Moran2021-01-041-0/+1
| | | | | | | | | | At the end of the mesh Key Refresh procedure when a subnet transitions to Phase 0, local AppKeys that were updated were not updating until the bluetooth-meshd daemon was restarted. This patch iterates the AppKeys at the end of mesh Key Refresh when the subnet transitions to Phase 0, setting the new state of each updated AppKey.
* mesh: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- LGPL-2.1-or-later : 48 License: LGPL-2.1-or-later mesh/mesh-mgmt.h mesh/mesh-mgmt.c mesh/net-keys.c mesh/mesh-io-api.h mesh/mesh.h mesh/net-keys.h mesh/model.h mesh/util.h mesh/appkey.c mesh/cfgmod.h mesh/appkey.h mesh/prov.h mesh/prov-acceptor.c mesh/net.c mesh/dbus.h mesh/friend.h mesh/mesh-io-generic.c mesh/main.c mesh/util.c mesh/dbus.c mesh/error.h mesh/mesh-config-json.c mesh/agent.h mesh/pb-adv.c mesh/crypto.c mesh/crypto.h mesh/friend.c mesh/pb-adv.h mesh/provision.h mesh/mesh-config.h mesh/mesh-io-generic.h mesh/agent.c mesh/cfgmod-server.c mesh/mesh-io.h mesh/keyring.h mesh/net.h mesh/keyring.c mesh/mesh-defs.h mesh/mesh.c mesh/rpl.c mesh/manager.c mesh/model.c mesh/mesh-io.c mesh/node.c mesh/prov-initiator.c mesh/rpl.h mesh/node.h mesh/manager.h
* mesh: Move Replay Protection to mesh/net.cBrian Gix2020-01-301-3/+0
| | | | | | | The specification calls for a flatter Replay Protection List that applies to all processed messages, regardless of which credentials were used to secure them. So storage and checking is now centralized in mesh/net.c
* mesh: Align appkey_packet_decrypt with dev and virt variants.Michał Lowas-Rzechonek2019-10-031-5/+5
| | | | | | | | | Move appkey_packet_decrypt to mesh/model, rename it to app_packet_decrypt, make it private and change arguments to be aligned with other decryption functions. Also, simplify the implementation using an inline loop, removing the need of mod_decrypt struct.
* mesh: Add bound Net Index lookup for App KeysBrian Gix2019-07-181-0/+1
| | | | | This patch also normalizes the naming convention in favor of key_aid when referring to the calculated AID of the used Access Layer key.
* mesh: Update copyright datesInga Stotland2019-05-171-1/+1
|
* mesh: Separate functions for app key add and updateInga Stotland2019-02-191-1/+3
| | | | | | | This splits appkey_key_add() into two separate functions: app_key_add() and app_key_update(). Fix checks for miscellaneous invalid conditions and return appropriate error status.
* mesh: Clean up App Key configuration and storageInga Stotland2019-01-081-1/+0
| | | | | | Fix miscellaneous issues: use l_debug instead of l_info for debug logs; remove "local" from functions names (this handles only local app keys); add missing App Key index initialization.
* mesh: Header files for mesh access layer and utilitiesInga Stotland2018-08-201-0/+43
This adds initial implementation of Mesh access layer functionality