summaryrefslogtreecommitdiff
path: root/tools/mesh-gatt
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2021-04-27 19:08:15 +0200
committerMarcel Holtmann <marcel@holtmann.org>2021-04-27 19:09:08 +0200
commit4d9150b28b7eeb0aa96dd44ab10a0e4afc99eb96 (patch)
treed647a497c13f834494aa7bbad4541d54222c95d6 /tools/mesh-gatt
parent957e79ac4de7ce5b45dd4ecd516190102e354760 (diff)
downloadbluez-4d9150b28b7eeb0aa96dd44ab10a0e4afc99eb96.tar.gz
mesh: Fix network_id parameter declaration
Diffstat (limited to 'tools/mesh-gatt')
-rw-r--r--tools/mesh-gatt/crypto.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/mesh-gatt/crypto.h b/tools/mesh-gatt/crypto.h
index f1cb7af26..7ae5f49e8 100644
--- a/tools/mesh-gatt/crypto.h
+++ b/tools/mesh-gatt/crypto.h
@@ -28,7 +28,7 @@ bool mesh_crypto_identity(const uint8_t net_key[16], uint16_t addr,
bool mesh_crypto_identity_check(const uint8_t net_key[16], uint16_t addr,
uint8_t id[16]);
bool mesh_crypto_beacon_cmac(const uint8_t encryption_key[16],
- const uint8_t network_id[16],
+ const uint8_t network_id[8],
uint32_t iv_index, bool kr, bool iu,
uint64_t *cmac);
bool mesh_crypto_network_nonce(bool frnd, uint8_t ttl, uint32_t seq,