RFR JDK-8029661: JDK-Support TLS v1.2 algorithm in SunPKCS11 provider

Martin Balao mbalao at redhat.com
Tue Jul 24 04:50:57 UTC 2018


Hi Valerie,

Webrev 05:

 * http://cr.openjdk.java.net/~mbalao/webrevs/8029661/8029661.webrev.05/
 * http://cr.openjdk.java.net/~mbalao/webrevs/8029661/8029661.webrev.05.zip

New in Webrev 05:

 * Explicitly casted prfHashMechanism to CK_MECHANISM_TYPE type to avoid
building warning on some compilers (it's a long -> unsigned long cast).

Regression tests result for jdk/sun/security/pkcs11 category:

Passed: sun/security/pkcs11/Cipher/JNICheck.java
Passed: sun/security/pkcs11/Cipher/ReinitCipher.java
Passed: sun/security/pkcs11/Cipher/TestPKCS5PaddingError.java
Passed: sun/security/pkcs11/Cipher/TestRawRSACipher.java
Passed: sun/security/pkcs11/Cipher/TestRSACipher.java
Passed: sun/security/pkcs11/Cipher/TestRSACipherWrap.java
Passed: sun/security/pkcs11/Cipher/TestSymmCiphers.java
Passed: sun/security/pkcs11/Cipher/TestSymmCiphersNoPad.java
Passed: sun/security/pkcs11/Config/ReadConfInUTF16Env.sh
Passed: sun/security/pkcs11/ec/ReadCertificates.java
Passed: sun/security/pkcs11/ec/ReadPKCS12.java
Passed: sun/security/pkcs11/ec/TestCurves.java
Passed: sun/security/pkcs11/ec/TestECDH.java
Passed: sun/security/pkcs11/ec/TestECDH2.java
Passed: sun/security/pkcs11/ec/TestECDSA.java
Passed: sun/security/pkcs11/ec/TestECDSA2.java
Passed: sun/security/pkcs11/ec/TestECGenSpec.java
FAILED: sun/security/pkcs11/ec/TestKeyFactory.java
Passed: sun/security/pkcs11/fips/ClientJSSEServerJSSE.java
Passed: sun/security/pkcs11/fips/TrustManagerTest.java
Passed: sun/security/pkcs11/KeyAgreement/SupportedDHKeys.java
Passed: sun/security/pkcs11/KeyAgreement/TestDH.java
Passed: sun/security/pkcs11/KeyAgreement/TestInterop.java
Passed: sun/security/pkcs11/KeyAgreement/TestShort.java
Passed: sun/security/pkcs11/KeyAgreement/UnsupportedDHKeys.java
Passed: sun/security/pkcs11/KeyGenerator/DESParity.java
Passed: sun/security/pkcs11/KeyGenerator/TestKeyGenerator.java
Passed: sun/security/pkcs11/KeyPairGenerator/TestDH2048.java
Passed: sun/security/pkcs11/KeyStore/Basic.sh
Passed: sun/security/pkcs11/KeyStore/ClientAuth.sh
Passed: sun/security/pkcs11/KeyStore/SecretKeysBasic.sh
Passed: sun/security/pkcs11/KeyStore/Solaris.sh
Passed: sun/security/pkcs11/Mac/MacKAT.java
Passed: sun/security/pkcs11/Mac/MacSameTest.java
Passed: sun/security/pkcs11/Mac/ReinitMac.java
Passed: sun/security/pkcs11/MessageDigest/ByteBuffers.java
Passed: sun/security/pkcs11/MessageDigest/DigestKAT.java
Passed: sun/security/pkcs11/MessageDigest/ReinitDigest.java
Passed: sun/security/pkcs11/MessageDigest/TestCloning.java
Passed: sun/security/pkcs11/Provider/Absolute.java
Passed: sun/security/pkcs11/Provider/ConfigQuotedString.sh
Passed: sun/security/pkcs11/Provider/ConfigShortPath.java
Passed: sun/security/pkcs11/Provider/Login.sh
Passed: sun/security/pkcs11/Provider/LoginISE.java
Passed: sun/security/pkcs11/rsa/KeyWrap.java
Passed: sun/security/pkcs11/rsa/TestCACerts.java
Passed: sun/security/pkcs11/rsa/TestKeyFactory.java
Passed: sun/security/pkcs11/rsa/TestKeyPairGenerator.java
Passed: sun/security/pkcs11/rsa/TestSignatures.java
Passed: sun/security/pkcs11/Secmod/AddPrivateKey.java
FAILED: sun/security/pkcs11/Secmod/AddTrustedCert.java
Passed: sun/security/pkcs11/Secmod/Crypto.java
Passed: sun/security/pkcs11/Secmod/GetPrivateKey.java
Passed: sun/security/pkcs11/Secmod/JksSetPrivateKey.java
Passed: sun/security/pkcs11/Secmod/LoadKeystore.java
Passed: sun/security/pkcs11/Secmod/TestNssDbSqlite.java
Passed: sun/security/pkcs11/Secmod/TrustAnchors.java
Passed: sun/security/pkcs11/SecureRandom/Basic.java
Passed: sun/security/pkcs11/SecureRandom/TestDeserialization.java
Passed: sun/security/pkcs11/Serialize/SerializeProvider.java
Passed: sun/security/pkcs11/Signature/ByteBuffers.java
Passed: sun/security/pkcs11/Signature/ReinitSignature.java
Passed: sun/security/pkcs11/Signature/TestDSA.java
Passed: sun/security/pkcs11/Signature/TestDSAKeyLength.java
Passed: sun/security/pkcs11/Signature/TestRSAKeyLength.java
Passed: sun/security/pkcs11/sslecc/ClientJSSEServerJSSE.java
FAILED: sun/security/pkcs11/tls/TestKeyMaterial.java
Passed: sun/security/pkcs11/tls/TestLeadingZeroesP11.java
Passed: sun/security/pkcs11/tls/TestMasterSecret.java
Passed: sun/security/pkcs11/tls/TestPremaster.java
Passed: sun/security/pkcs11/tls/TestPRF.java
Passed: sun/security/pkcs11/tls/TestTLS12.java
Passed: sun/security/pkcs11/SampleTest.java
Test results: passed: 70; failed: 3

NOTE: failing testcases were already failing on an unpatched JDK.

Look forward to your answer.

Kind regards,
Martin.-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/security-dev/attachments/20180724/beef6001/attachment.html>


More information about the security-dev mailing list