wycheproof-ecdsa-small-rand-s
ECDSA: Small rand s
The test vectors contains a signature where both r and s are small integers. Some libraries cannot verify such signatures.
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.
While the signature in this test vector is constructed and similar cases are unlikely to occur, it is important to determine if the underlying arithmetic error can be used to forge signatures. Demonstrated by 665 test vectors across 73 vector documents in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- Source
- wycheproof
- Clause
- FIPS 186-5 §6
- CVE
- 2020-13895
- 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.