RFR: 8305310: Calculate PublicKey from PrivateKey

Matthew Donovan duke at openjdk.org
Fri Mar 31 11:50:18 UTC 2023


On Thu, 30 Mar 2023 19:31:47 GMT, Weijun Wang <weijun at openjdk.org> 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/InteralPrivateKey/Correctness.java line 39:

> 37:  * @modules java.base/sun.security.util
> 38:  */
> 39: public class Correctness {

There's a misspelling in the directory name for this class: InteralPrivateKey vs. InternalPrivateKey

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

PR Review Comment: https://git.openjdk.org/jdk/pull/13250#discussion_r1154377942



More information about the security-dev mailing list