Site icon EfmSoft

What does NTSTATUS 0xC000A002 (STATUS_AUTH_TAG_MISMATCH) mean?

 
Previous Next
STATUS_HMAC_NOT_SUPPORTED STATUS_INVALID_STATE_TRANSITION

STATUS_AUTH_TAG_MISMATCH

Authenticated encryption rejected the ciphertext or associated data

Authenticated-encryption modes validate an authentication tag over the ciphertext and, where applicable, additional authenticated data. This status means the recomputed tag did not match. The ciphertext must be treated as unauthenticated, and plaintext output from the failed operation must not be consumed even when some bytes were produced before the failure was reported.

A mismatch can result from corruption or tampering, but it also occurs when the key, nonce or IV, tag length, algorithm parameters, ciphertext boundaries, or associated data differ between encryption and decryption. Reusing a nonce can create a separate security failure and should not be used as a troubleshooting shortcut.

What to inspect

References


Looking for a different code? Search another status or error code.

Exit mobile version