hg: jdk8/tl/jdk: 8014618: Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement

xuelei.fan at oracle.com xuelei.fan at oracle.com
Fri May 31 05:03:51 UTC 2013


Changeset: 6407106f1b1c
Author:    xuelei
Date:      2013-05-30 22:02 -0700
URL:       http://hg.openjdk.java.net/jdk8/tl/jdk/rev/6407106f1b1c

8014618: Need to strip leading zeros in TlsPremasterSecret of DHKeyAgreement
Reviewed-by: xuelei
Contributed-by: Pasi Eronen <pe at iki.fi>

! src/share/classes/com/sun/crypto/provider/DHKeyAgreement.java
! src/share/classes/sun/security/pkcs11/P11KeyAgreement.java
! src/share/classes/sun/security/pkcs11/P11Signature.java
! src/share/classes/sun/security/pkcs11/P11Util.java
! src/share/classes/sun/security/util/KeyUtil.java
+ test/com/sun/crypto/provider/TLS/TestLeadingZeroes.java
+ test/sun/security/pkcs11/tls/TestLeadingZeroesP11.java




More information about the core-libs-dev mailing list