RFR: 8213719: Both sect163r2 and sect163k1 are default curves for field size 163

Weijun Wang weijun at openjdk.java.net
Fri Nov 27 19:46:01 UTC 2020


There should only be one curve having type BD or PD in CurveDB.java for any given length. Here we keep the last one (sect163r2) so there's no behavior change.

I tried to search on the net to see if there is a consensus on which curve is meant to be the default one for a size, but cannot find one for 163. If anyone can find it I'll be happy to take a look.

Noreg-cleanup.

-------------

Commit messages:
 - 8213719: Both sect163r2 and sect163k1 are default curves for field size 163

Changes: https://git.openjdk.java.net/jdk/pull/1485/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1485&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8213719
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1485.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1485/head:pull/1485

PR: https://git.openjdk.java.net/jdk/pull/1485



More information about the security-dev mailing list