On Wed, 8 Feb 2023 01:53:34 GMT, Valerie Peng <valer...@openjdk.org> wrote:
> 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 This pull request has now been integrated. Changeset: 394eac85 Author: Valerie Peng <valer...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/394eac850cf8def6107193695f1d438f083d275a Stats: 131 lines in 2 files changed: 121 ins; 1 del; 9 mod 8295425: Match the default priv exp length between SunPKCS11 and other JDK providers Reviewed-by: weijun ------------- PR: https://git.openjdk.org/jdk/pull/12466