wycheproof-aes-cbc-hmac-pseudorandom
JOSE: Pseudorandom
The test vector contains pseudorandomly generated inputs. The goal of the test vector is to check the correctness of the implementation for various sizes of the input parameters. Some libraries do not support all the parameter sizes. In particular the size of the IV is often restricted.
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.
The test vector contains pseudorandomly generated inputs. The goal of the test vector is to check the correctness of the implementation for various sizes of the input parameters. Some libraries do not support all the parameter sizes. In particular the size of the IV is often restricted. Demonstrated by 186 test vectors across 3 vector documents in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- Source
- wycheproof
- Clause
- RFC 7518 §5.2
- 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.