hg: jdk7u/jdk7u-dev/jdk: 7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
valerie.peng at oracle.com
valerie.peng at oracle.com
Wed Mar 28 19:10:19 PDT 2012
Changeset: e574e475c8a6
Author: valeriep
Date: 2012-03-28 16:08 -0700
URL: http://hg.openjdk.java.net/jdk7u/jdk7u-dev/jdk/rev/e574e475c8a6
7146728: Inconsistent length for the generated secret using DH key agreement impl from SunJCE and PKCS11
Summary: Always return the secret in the same length as the modulus.
Reviewed-by: wetmore
! src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java
! src/share/classes/sun/security/pkcs11/P11KeyAgreement.java
! test/com/sun/crypto/provider/KeyAgreement/DHKeyAgreement2.java
+ test/sun/security/pkcs11/KeyAgreement/TestInterop.java
! test/sun/security/pkcs11/KeyAgreement/TestShort.java
More information about the jdk7u-dev
mailing list