zigbee-on-host
    Preparing search index...

    Function computeAuthTag

    • 05-3474-23 R23.1, Annex B (CCM* authentication primitive)

      SPEC COMPLIANCE NOTES:

      • ✅ Builds B0 and authentication blocks per Zigbee CCM* definition using zero IV
      • ✅ Pads associated data and payload to AES block size exactly per spec
      • ⚠️ Caller must supply AAD in correct order (NWK header + security header) DEVICE SCOPE: All logical devices

      Parameters

      • authData: Buffer
      • M: number
      • key: Buffer
      • nonce: Buffer
      • data: Buffer

      Returns Buffer