Re: RFR: 8294848: Unnecessary SSLCipher dispose implementations

2022-10-08 Thread Bradford Wetmore
On Wed, 5 Oct 2022 11:24:57 GMT, Daniel Jeliński wrote: > This PR removes the implementation of `dispose()` method for AEAD SSLCiphers. > > Invocations of > [readCipher.dispose](https://github.com/openjdk/jdk/blob/4cec141a90bc5d3b8ec17c024291d9c74a112cd4/src/java.base/share/classes/sun/security

Re: RFR: 8294731: Improve multiplicative inverse for secp256r1 implementation [v3]

2022-10-08 Thread Xue-Lei Andrew Fan
> Hi, > > May I have this patch reviewed? > > This is one of a few steps to improve the EC performance. The multiplicative > inverse implementation could be improved for better performance. > > For secp256r1 prime p, the current multiplicative inverse impl needs 256 > square and 128 multipli

Re: RFR: 8294731: Improve multiplicative inverse for secp256r1 implementation [v2]

2022-10-08 Thread Xue-Lei Andrew Fan
On Thu, 6 Oct 2022 19:35:09 GMT, Daniel Jeliński wrote: > could you also try using precomputed powers of t between 0-15? similar to > what we do in > [ECOperations.multiply](https://github.com/openjdk/jdk/blob/2ae8e3118385bdf93c50bca550334734b69bc2b6/src/jdk.crypto.ec/share/classes/sun/security