RFR: 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers [v2]

Valerie Peng valeriep at openjdk.org
Tue Feb 28 23:51:51 UTC 2023


> This changes the SunPKCS11 provider to use the same default private exponent length as the value used by SunJCE provider when initializing the DH Key Pair Generator impl using key size. In addition, the generated key pair will contain the specified parameters. If the supplied parameter does not contain the optional private exponent length, then we will leave it to the underlying PKCS11 library.
> 
> Thanks in advance for the review~
> Valerie

Valerie Peng has updated the pull request incrementally with one additional commit since the last revision:

  fixed comment.

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/12466/files
  - new: https://git.openjdk.org/jdk/pull/12466/files/b22274ca..fa765f2f

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=12466&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=12466&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/12466.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/12466/head:pull/12466

PR: https://git.openjdk.org/jdk/pull/12466



More information about the security-dev mailing list