zigbee-on-host
    Preparing search index...

    Function aes128CcmStar

    • 05-3474-23 R23.1, Annex B/A (CCM* mode of operation)

      SPEC COMPLIANCE NOTES:

      • ✅ Implements CCM* counter generation with L=2 for Zigbee network/APS security
      • ✅ Returns authentication tag and ciphertext slices matching Zigbee frame layout
      • ⚠️ Assumes caller has already constructed nonce and formatted data per CCM* expectations DEVICE SCOPE: All logical devices

      Parameters

      • M: 0 | 2 | 4 | 8 | 16
      • key: Buffer
      • nonce: Buffer
      • data: Buffer

      Returns [authTag: Buffer<ArrayBufferLike>, ciphertext: Buffer<ArrayBufferLike>]