broken SSA-224 in jdk7u111?

Chuck Rasbold rasbold at google.com
Fri Aug 12 22:26:50 UTC 2016


At Google we've merged jdk7u111 into our jdk7 repo, and we're seeing some
jtreg failures.

These 10 stand out collectively:

  com/sun/crypto/provider/Cipher/RSA/TestOAEP.java
  com/sun/crypto/provider/Cipher/RSA/TestOAEPWithParams.java
  com/sun/crypto/provider/Mac/MacClone.java
  com/sun/crypto/provider/Mac/MacKAT.java
  sun/security/provider/DSA/TestAlgParameterGenerator.java
  sun/security/provider/MessageDigest/DigestKAT.java
  sun/security/provider/MessageDigest/Offsets.java
  sun/security/provider/MessageDigest/TestSHAClone.java
  sun/security/rsa/TestKeyPairGenerator.java
  sun/security/rsa/TestSignatures.java

We believe that the cause of these failures is that the fix for JDK-8000897
is missing, which is needed for SHA-224 to work.

I don't see the patch in the jdk7u repo, but it can be found in the old
icedtea 2.6 forest.

Compare:

http://icedtea.classpath.org/hg/release/icedtea7-forest-2.6/jdk/log/78984f240864/src/share/classes/sun/security/provider/SHA2.java
to:

http://hg.openjdk.java.net/jdk7u/jdk7u/jdk/log/3d030fe77f74/src/share/classes/sun/security/provider/SHA2.java

Are we missing something?


More information about the jdk7u-dev mailing list