1# From the Bluetooth Mesh Profile Specification v1.0. 2# 3# The relevant AES-CCM calls are: 4# 5# KEY: EncryptionKey 6# NONCE: Network Nonce 7# IN: DST || TransportPDU 8# AD: (none) 9# CT: EncTransportPDU 10# TAG: NetMIC 11# 12# KEY: DevKey if present, otherwise AppKey 13# NONCE: Application Nonce 14# IN: Access Payload 15# AD: Label UUID, if present 16# CT: EncAccessPayload 17# TAG: TransMIC 18 19# Section 8.3.1. 20KEY: 0953fa93e7caac9638f58820220a398e 21NONCE: 00800000011201000012345678 22IN: fffd034b50057e400000010000 23AD: 24CT: b5e5bfdacbaf6cb7fb6bff871f 25TAG: 035444ce83a670df 26 27# Section 8.3.2 28KEY: 0953fa93e7caac9638f58820220a398e 29NONCE: 00800148202345000012345678 30IN: 120104320308ba072f 31AD: 32CT: 79d7dbc0c9b4d43eeb 33TAG: ec129d20a620d01e 34 35# Section 8.3.3. 36KEY: 0953fa93e7caac9638f58820220a398e 37NONCE: 00802b38322fe3000012345678 38IN: 120104fa0205a6000a 39AD: 40CT: 53273086b8c5ee00bd 41TAG: d9cfcc62a2ddf572 42 43# Section 8.3.4. 44KEY: be635105434859f484fc798e043ce40e 45NONCE: 00800000021201000012345678 46IN: 23450100 47AD: 48CT: b0e5d0ad 49TAG: 970d579a4e88051c 50 51# Section 8.3.5. 52KEY: be635105434859f484fc798e043ce40e 53NONCE: 00800148342345000012345678 54IN: 120102001234567800 55AD: 56CT: 5c39da1792b1fee9ec 57TAG: 74b786c56d3a9dee 58 59# Section 8.3.7. 60KEY: 0953fa93e7caac9638f58820220a398e 61NONCE: 008b0148352345000012345678 62IN: 000300a6ac00000002 63AD: 64CT: 0d0d730f94d7f3509d 65TAG: f987bb417eb7c05f 66 67# Section 8.3.9. 68KEY: 0953fa93e7caac9638f58820220a398e 69NONCE: 008b0148362345000012345678 70IN: 000300a6ac00000003 71AD: 72CT: d85d806bbed248614f 73TAG: 938067b0d983bb7b 74 75# Section 8.3.10. 76KEY: be635105434859f484fc798e043ce40e 77NONCE: 00800000031201000012345678 78IN: 23450101 79AD: 80CT: 7777ed35 81TAG: 5afaf66d899c1e3d 82 83# Section 8.3.12. 84KEY: be635105434859f484fc798e043ce40e 85NONCE: 00800000041201000012345678 86IN: 23450101 87AD: 88CT: ae214660 89TAG: 87599c2426ce9a35 90 91# Section 8.3.14. 92KEY: be635105434859f484fc798e043ce40e 93NONCE: 00800000051201000012345678 94IN: 23450100 95AD: 96CT: 7d3ae62a 97TAG: 3c75dff683dce24e 98 99# Section 8.3.24. 100KEY: 63964771734fbd76e3b40519d1d94a48 101NONCE: 010007080d1234973612345677 102IN: ea0a00576f726c64 103AD: f4a002c7fb1e4ca0a469a021de0db875 104CT: de1547118463123e 105TAG: 5f6a17b99dbca387 106