wycheproof-hmac-modified-tag
HMAC: Modified tag
The test vector contains a modified MAC. The purpose of the test is to check whether the verification fully checks the tag.
REJECT
Your service should reject this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
The test vector contains a modified MAC. The purpose of the test is to check whether the verification fully checks the tag. Demonstrated by 1286 test vectors across 12 vector documents in Project Wycheproof.
Provenance
- Kind
- vulnerabilityA published weakness exists for this. Failing it is a known exploit path.
- Source
- wycheproof
- Clause
- RFC 2104
- CVE
- none
- Weakness
- none
Test keys only. Nothing here is a statement about any particular service: the expected outcome above is what an application ought to do, not evidence that yours does.