summaryrefslogtreecommitdiff
path: root/mesh/crypto.h
Commit message (Collapse)AuthorAgeFilesLines
* mesh: Rename parameter list per crypto usageBrian Gix2023-01-301-1/+1
| | | | | The derived key generated by the "nkpk" salt and network master key is used to create Private Beacons as of Mesh Profile Specification v1.1
* mesh: Fix network_id parameter declarationMarcel Holtmann2021-04-271-1/+1
|
* 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: Remove redundant code from mesh/cryptoMichaƂ Lowas-Rzechonek2020-04-071-48/+2
| | | | | | | | | | - Remove application_encrypt/application_decrypt - Make mesh_crypto_privacy_counter private, add mesh_crypto_pecb - Make *_nonce functions private and align their implementation to be more consistent - Refactor network_encrypt/network_decrypt to use *_nonce functions and rename them to packet_encrypt/packet_decrypt - Refactor packet_encode/packet_decode
* mesh: test AEAD at startup to check kernel supportBrian Gix2019-09-011-0/+1
| | | | | | | One time test at startup to ensure either kernel version v4.9 or later, *or* that required AES-CCM support has been back-ported. If support not there, daemon will run without providing D-Bus service or attaching to controllers (prevents systemd thrashing).
* mesh: Normalize Access Key AID naming conventionBrian Gix2019-07-181-4/+4
|
* mesh: Convert provisioning pkts to packed structsBrian Gix2019-07-141-4/+4
| | | | | | Provisioning packets are defined in the specification as packed big endian structures. Instead of specifying an octet array, we now use struct matching the spec.
* mesh: Shared private meshd interfacesBrian Gix2018-08-201-0/+163
|
* tools: Move meshctl sources under tools/mesh directoryInga Stotland2018-07-061-120/+0
| | | | This is a temporary location until the unified mesh solution is provided
* mesh: Remove circular include protection guardsMarcel Holtmann2017-08-211-13/+0
|
* mesh: define APIs for Bluetooth MeshBrian Gix2017-08-211-0/+133