| KEY: 404142434445464748494a4b4c4d4e4f |
| NONCE: 101112131415161718191a1b1c |
| IN: 20212223 |
| AD: 0001020304050607 |
| CT: 69915dad |
| TAG: 064617ca |
| |
| KEY: 404142434445464748494a4b4c4d4e4f |
| NONCE: 101112131415161718191a1b1c |
| IN: 202122232425262728292a2b2c2d2e2f |
| AD: 0001020304050607 |
| CT: 69915dad1e84c6376a68c2967e4dab61 |
| TAG: 99763ebb |
| |
| KEY: 404142434445464748494a4b4c4d4e4f |
| NONCE: 101112131415161718191a1b1c |
| IN: 202122232425262728292a2b2c2d2e2f |
| AD: |
| CT: 69915dad1e84c6376a68c2967e4dab61 |
| TAG: c4630026 |
| |
| # From the Bluetooth Mesh Profile Specification v1.0. |
| # |
| # The relevant AES-CCM calls are: |
| # |
| # KEY: EncryptionKey |
| # NONCE: Network Nonce |
| # IN: DST || TransportPDU |
| # AD: (none) |
| # CT: EncTransportPDU |
| # TAG: NetMIC |
| # |
| # KEY: DevKey if present, otherwise AppKey |
| # NONCE: Application Nonce |
| # IN: Access Payload |
| # AD: Label UUID, if present |
| # CT: EncAccessPayload |
| # TAG: TransMIC |
| |
| # Section 8.3.6. |
| KEY: 9d6dd0e96eb25dc19a40ed9914f8f03f |
| NONCE: 02003129ab0003120112345678 |
| IN: 0056341263964771734fbd76e3b40519d1d94a48 |
| AD: |
| CT: ee9dddfd2169326d23f3afdfcfdc18c52fdef772 |
| TAG: e0e17308 |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00043129ab0003000012345678 |
| IN: 12018026ac01ee9dddfd2169326d23f3afdf |
| AD: |
| CT: 0afba8c63d4e686364979deaf4fd40961145 |
| TAG: 939cda0e |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00043129ac0003000012345678 |
| IN: 12018026ac21cfdc18c52fdef772e0e17308 |
| AD: |
| CT: 6cae0c032bf0746f44f1b8cc8ce5edc57e55 |
| TAG: beed49c0 |
| |
| # Section 8.3.8. |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00043129ad0003000012345678 |
| IN: 12018026ac01ee9dddfd2169326d23f3afdf |
| AD: |
| CT: 0e2f91add6f06e66006844cec97f973105ae |
| TAG: 2534f958 |
| |
| # Section 8.3.11. |
| KEY: be635105434859f484fc798e043ce40e |
| NONCE: 00033129ad0003000012345678 |
| IN: 1201c026ac01ee9dddfd2169326d23f3afdf |
| AD: |
| CT: d5e748a20ecfd98ddfd32de80befb400213d |
| TAG: 113813b5 |
| |
| # Section 8.3.13's test vector is identical to 8.3.11. |
| |
| # Section 8.3.15. |
| KEY: be635105434859f484fc798e043ce40e |
| NONCE: 00033129ac0003000012345678 |
| IN: 12018026ac21cfdc18c52fdef772e0e17308 |
| AD: |
| CT: f1d29805664d235eacd707217dedfe78497f |
| TAG: efec7391 |
| |
| # Section 8.3.16. |
| KEY: 9d6dd0e96eb25dc19a40ed9914f8f03f |
| NONCE: 02000000061201000312345678 |
| IN: 800300563412 |
| AD: |
| CT: 89511bf1d1a8 |
| TAG: 1c11dcef |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000b0000061201000012345678 |
| IN: 00030089511bf1d1a81c11dcef |
| AD: |
| CT: 6b9be7f5a642f2f98680e61c3a |
| TAG: 8b47f228 |
| |
| # Section 8.3.17's test vector is identical to 8.3.16. |
| |
| # Section 8.3.18. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 01000000071201ffff12345678 |
| IN: 0400000000 |
| AD: |
| CT: 5a8bde6d91 |
| TAG: 06ea078a |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00030000071201000012345678 |
| IN: ffff665a8bde6d9106ea078a |
| AD: |
| CT: 5673728a627fb938535508e2 |
| TAG: 1a6baf57 |
| |
| # Section 8.3.19. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 01000000091201ffff12345678 |
| IN: 04000000010703 |
| AD: |
| CT: ca6cd88e698d12 |
| TAG: 65f43fc5 |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00030000091201000012345678 |
| IN: ffff66ca6cd88e698d1265f43fc5 |
| AD: |
| CT: 3010a05e1b23a926023da75d25ba |
| TAG: 91793736 |
| |
| # Section 8.3.20. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 01000708091234ffff12345677 |
| IN: 04000000010703 |
| AD: |
| CT: 9c9803e110fea9 |
| TAG: 29e9542d |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 00030708091234000012345677 |
| IN: ffff669c9803e110fea929e9542d |
| AD: |
| CT: 8c3dc87344a16c787f6b08cc897c |
| TAG: 941a5368 |
| |
| # Section 8.3.21. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 010007080a1234810512345677 |
| IN: d50a0048656c6c6f |
| AD: |
| CT: 2fa730fd98f6e4bd |
| TAG: 120ea9d6 |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000307080a1234000012345677 |
| IN: 8105662fa730fd98f6e4bd120ea9d6 |
| AD: |
| CT: e4d611358eaf17796a6c98977f69e5 |
| TAG: 872c4620 |
| |
| # Section 8.3.22. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 010007080b1234b52912345677 |
| IN: d50a0048656c6c6f |
| AD: 0073e7e4d8b9440faf8415df4c56c0e1 |
| CT: 3871b904d4315263 |
| TAG: 16ca48a0 |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000307080b1234000012345677 |
| IN: b529663871b904d431526316ca48a0 |
| AD: |
| CT: ed31f3fdcf88a411135fea55df730b |
| TAG: 6b28e255 |
| |
| # Section 8.3.23. |
| KEY: 63964771734fbd76e3b40519d1d94a48 |
| NONCE: 010007080c1234973612345677 |
| IN: d50a0048656c6c6f |
| AD: f4a002c7fb1e4ca0a469a021de0db875 |
| CT: 2456db5e3100eef6 |
| TAG: 5daa7a38 |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000307080c1234000012345677 |
| IN: 9736662456db5e3100eef65daa7a38 |
| AD: |
| CT: 7a9d696d3dd16a75489696f0b70c71 |
| TAG: 1b881385 |
| |
| # Section 8.3.24. |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000307080d1234000012345677 |
| IN: 9736e6a03401de1547118463123e5f6a17b9 |
| AD: |
| CT: 94e998b4081f5a7308ce3edbb3b06cdecd02 |
| TAG: 8e307f1c |
| |
| KEY: 0953fa93e7caac9638f58820220a398e |
| NONCE: 000307080e1234000012345677 |
| IN: 9736e6a034219dbca387 |
| AD: |
| CT: dc2f4dd6fb4d32870129 |
| TAG: 1be4aafe |