74 Commits

Author SHA1 Message Date
Matthias Ringwald
2264eafe8f mesh: store unicast addr in provisioning data 2019-07-20 08:50:22 +02:00
Matthias Ringwald
bcb111ffa5 mesh: relay messages in mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
f90df679aa mesh: global iv_index in mesh_network, fix test 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9cc32c6c71 mesh: extract mesh_network 2019-07-20 08:50:22 +02:00
Matthias Ringwald
63cdf6b794 mesh: use mesh_network_key for encode/decode 2019-07-20 08:50:22 +02:00
Matthias Ringwald
27c7f61e55 mesh: print TTL, log if no network key found 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1f2a88929d mesh: print ttl 2019-07-20 08:50:22 +02:00
Matthias Ringwald
568e37651a mesh: validate src/dst addr on receive 2019-07-20 08:50:22 +02:00
Matthias Ringwald
7a52a0d85d mesh: use queue to process incoming mesh messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
25b1f97ab4 mesh: store validated incoming network pdus 2019-07-20 08:50:22 +02:00
Matthias Ringwald
042ac7950a mesh: use mesh_network_pdu for outgoing packets 2019-07-20 08:50:22 +02:00
Matthias Ringwald
20537b9f41 mesh: mesh_network_send insted of globals 2019-07-20 08:50:22 +02:00
Matthias Ringwald
9f146e54f9 mesh: encrypt/decrypt network pdu with ccm with single call 2019-07-20 08:50:22 +02:00
Matthias Ringwald
dc0c53e19d mesh: update ccm api 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2df6ee7dfe mesh: use larger decryption buffer 2019-07-20 08:50:22 +02:00
Matthias Ringwald
f34c9bad7b mesh: correct cypher len for second block 2019-07-20 08:50:22 +02:00
Matthias Ringwald
2718b724e4 mesh: start decoding received messages 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1748905192 mesh: validate NetMIC and try next key on mismatch 2019-07-20 08:50:22 +02:00
Matthias Ringwald
4576c61124 mesh: fix decryption 2019-07-20 08:50:22 +02:00
Matthias Ringwald
88f5388d43 mesh: draft implementation to process network pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
8c8d9cfb4f mesh: dump provisioning data 2019-07-20 08:50:22 +02:00
Matthias Ringwald
59889268bc mesh: add k2 to mesh_provisioning_data, test message #1 2019-07-20 08:50:22 +02:00
Matthias Ringwald
bdecc9c9d3 mesh: draft implementation to create network pdu from transport pdu 2019-07-20 08:50:22 +02:00
Matthias Ringwald
1fbe4564be restart mesh development based on current develop and existing mesh branches 2019-07-20 08:50:21 +02:00