[jdk21u-dev] RFR: 8333754: Add a Test against ECDSA and ECDH NIST Test vector
Goetz Lindenmaier
goetz at openjdk.org
Wed Oct 30 14:18:54 UTC 2024
I backport this for parity with 21.0.6-oracle.
Applies clean, but test ECDSAPrimitive does not compile. The second commit contains the fixes for this.
In head, ECOperations.setSum takes a MutablePoint as second argument,
so it is built from the available AffinePoint.
In 21, ECOperations.setSum() takes an AffinePoint, so I just pass the available one.
Tests pass.
-------------
Commit messages:
- Adapt test to Java 21
- Backport fad6644eabbad6b6d3472206d9db946408aca612
Changes: https://git.openjdk.org/jdk21u-dev/pull/1108/files
Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=1108&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8333754
Stats: 9497 lines in 4 files changed: 9497 ins; 0 del; 0 mod
Patch: https://git.openjdk.org/jdk21u-dev/pull/1108.diff
Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/1108/head:pull/1108
PR: https://git.openjdk.org/jdk21u-dev/pull/1108
More information about the jdk-updates-dev
mailing list