RFR: 8213719: Both sect163r2 and sect163k1 are default curves for field size 163
Valerie Peng
valeriep at openjdk.java.net
Mon Nov 30 18:36:55 UTC 2020
On Fri, 27 Nov 2020 19:40:35 GMT, Weijun Wang <weijun at openjdk.org> wrote:
> 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.
>
Based on CurveDB line 141, it seems we uses the first one and discards the rest? Are you sure we keep the last one?
Don't have answers for your questions though.
-------------
PR: https://git.openjdk.java.net/jdk/pull/1485
More information about the security-dev
mailing list