RFR 8237218: Support NIST Curves verification in java implementation

Weijun Wang weijun.wang at oracle.com
Thu Feb 13 11:06:31 UTC 2020


Webrev updated at

   http://cr.openjdk.java.net/~weijun/8237218/webrev.03/

The test is modified. Instead of adding a hacked ECDSASignature I'm using JDI to detect if the Java impl or the native impl is used. Two method names in ECDSASignature are modified to ease method lookup in the test.

Thanks,
Max

> On Feb 11, 2020, at 7:52 PM, Weijun Wang <weijun.wang at oracle.com> wrote:
> 
> Please take a review at
> 
>   http://cr.openjdk.java.net/~weijun/8237218/webrev.02/
> 
> A test is added that uses a patched ECDSASignature.java that exposes how the signature is verified.
> 
> BTW, I also updated ECDSASignature.java a little to accept non SunEC keys, so that I can do some interop testing. If you believe this is unnecessary I can revert the change.
> 
> Thanks,
> Max
> 




More information about the security-dev mailing list