6.3.2 CheckMac Command

The CheckMac command calculates a MAC response that would have been generated on a different CryptoAuthentication device1 and then compares the result with the input value. The command returns a boolean result to indicate the success or failure of the comparison.

If a value in TempKey is used as an input to the CheckMac, then a Nonce and/or GenDig command must be run prior to the CheckMac command.

1 Devices that generate a compatible MAC response include, ATECC608A/B/C, ATECC508A, ATSHA204A and SHA104. This includes Trust variants associated with the products.