wycheproof-aes-keywrap-wrong-data-size
AES-KW: Wrong data size
KW cannot be used to wrap a key that is not a multiple of 8 bytes. Inputs of such sizes should be rejected.
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.
KW cannot be used to wrap a key that is not a multiple of 8 bytes. Inputs of such sizes should be rejected. Demonstrated by 24 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.