6.1 CheckMac
Command
The CheckMac command calculates a MAC response that was generated on a SHA104, SHA106, ATECC608x, ATECC508A, ATECC108A, ATSHA204A or ATSHA206A CryptoAuthentication device and compares the result to the ClientResp value. It returns a Boolean result to indicate the success or failure of the comparison. An optional MAC may be appended to the response for enhanced security.
If the optional MAC is included in the output response, then this value must be checked
by the host micro for validity. The host micro must calculate the value of the MAC and
compare it against the value output by the CheckMac
command.