wycheproof-aes-keywrap-small-key
AES-KW: Small key
This test vector wraps a key smaller than 128-bits. Rejecting such keys may be reasonable to detect weak keys. Rejecting the keys also simplifies the implementation.
ACCEPT
Your service should accept this one.
Stated as the outcome to assert against, so a suite compares with this rather than hardcoding a result and getting it backwards.
This test vector wraps a key smaller than 128-bits. Rejecting such keys may be reasonable to detect weak keys. Rejecting the keys also simplifies the implementation. Demonstrated by 45 test vectors in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- 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.