-
Bug
-
Resolution: Not an Issue
-
P3
-
8, 9
-
Solaris 11 sparc 64
JDK 8 b113
-
sparc_64
-
solaris_11
JDK tested: JDK 8 b119
OS tested: Solaris 11 sparcv9
Tests fail and reported following stack trace when data is not in multiple of 16 bytes.
javax.crypto.IllegalBlockSizeException: CRYPTO_DATA_LEN_RANGE
at com.oracle.security.ucrypto.NativeCipher.doFinal(NativeCipher.java:555)
at com.oracle.security.ucrypto.NativeCipher.engineDoFinal(NativeCipher.java:391)
at com.oracle.security.ucrypto.NativeGCMCipher.engineDoFinal(NativeGCMCipher.java:378)
at com.oracle.security.ucrypto.NativeGCMCipher.engineDoFinal(NativeGCMCipher.java:337)
at javax.crypto.Cipher.doFinal(Cipher.java:2121)
...
This should not happen as GCM mode does not require data to be multiple of blocks.
- relates to
-
JDK-8031653 Document known Solaris ucrypto issue and its workaround
- Resolved