wycheproof-ecdh-wrong-order
ECDH: Wrong order
The order of the public key has been modified.
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.
If this order is used in a cryptographic primitive instead of the correct order then an invalid curve attack is possible and the private keys may leak. E.g. ECDHC in BC 1.52 suffered from this. Demonstrated by 56 test vectors across 14 vector documents in Project Wycheproof.
Provenance
- Kind
- normativeA specification clause requires this. Failing it is non-conformance, not opinion.
- Source
- wycheproof
- Clause
- SEC 1 §3.3
- 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.