wycheproof-aes-keywrap-modified-padding
AES-KW: Modified padding
The test vector contains a ciphertext that was obtained with a modified padding. Unwrapping should verify the padding and hence reject this test vector.
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 ciphertext that was obtained with a modified padding. Unwrapping should verify the padding and hence reject this test vector. Demonstrated by 177 test vectors in Project Wycheproof.
Provenance
- Kind
- vulnerabilityA published weakness exists for this. Failing it is a known exploit path.
- Source
- wycheproof
- Clause
- RFC 5649
- 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.