Re: RFR: 8305310: Calculate PublicKey from PrivateKey [v2]

2023-04-07 Thread Sean Mullan
On Fri, 31 Mar 2023 12:48:21 GMT, Weijun Wang wrote: >> This code change is for DHKEM, which requires the function >> >> pk(skX): The KEM public key corresponding to the KEM private key skX. >> >> Only implemented for EC and XDH. Might add PKCS #11 support later. > > Weijun Wang has updated the

Re: RFR: 8305310: Calculate PublicKey from PrivateKey [v2]

2023-03-31 Thread Weijun Wang
> This code change is for DHKEM, which requires the function > > pk(skX): The KEM public key corresponding to the KEM private key skX. > > Only implemented for EC and XDH. Might add PKCS #11 support later. Weijun Wang has updated the pull request incrementally with one additional commit since t

Re: RFR: 8305310: Calculate PublicKey from PrivateKey

2023-03-31 Thread Weijun Wang
On Fri, 31 Mar 2023 11:15:19 GMT, Matthew Donovan wrote: >> This code change is for DHKEM, which requires the function >> >> pk(skX): The KEM public key corresponding to the KEM private key skX. >> >> Only implemented for EC and XDH. Might add PKCS #11 support later. > > src/jdk.crypto.ec/share

Re: RFR: 8305310: Calculate PublicKey from PrivateKey

2023-03-31 Thread Matthew Donovan
On Thu, 30 Mar 2023 19:31:47 GMT, Weijun Wang wrote: > This code change is for DHKEM, which requires the function > > pk(skX): The KEM public key corresponding to the KEM private key skX. > > Only implemented for EC and XDH. Might add PKCS #11 support later. test/jdk/sun/security/util/InteralP

Re: RFR: 8305310: Calculate PublicKey from PrivateKey

2023-03-31 Thread Matthew Donovan
On Thu, 30 Mar 2023 19:31:47 GMT, Weijun Wang wrote: > This code change is for DHKEM, which requires the function > > pk(skX): The KEM public key corresponding to the KEM private key skX. > > Only implemented for EC and XDH. Might add PKCS #11 support later. src/jdk.crypto.ec/share/classes/sun

RFR: 8305310: Calculate PublicKey from PrivateKey

2023-03-30 Thread Weijun Wang
This code change is for DHKEM, which requires the function pk(skX): The KEM public key corresponding to the KEM private key skX. - Commit messages: - add a test - the fix Changes: https://git.openjdk.org/jdk/pull/13250/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13250&