Closed as program error.
Error Message: java x.crypto.IllegalBlockSizeException: lHash mismatch at com.ibm.crypto.provider.RSA.a(Unknown Source) at com.ibm.crypto.provider.RSA.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(Unknown Source) at Test.main(Test.java:76) . Stack Trace: java x.crypto.IllegalBlockSizeException: lHash mismatch at com.ibm.crypto.provider.RSA.a(Unknown Source) at com.ibm.crypto.provider.RSA.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(Unknown Source) at Test.main(Test.java:76) .
There are 3 scenarios, when the BigIntegers's toByteArray() method is called, that result in the problem: 1) The resulting ByteArray does not have a byte corresponding to one leading zero in BigInteger. 2) The resulting ByteArray does not have bytes corresponding to many leading zeroes in BigInteger 3) One or more extra leading zero is introduced in the resulting ByteArray, though there are no leading zeroes in the BigInteger. The old code addresses only scenario 1. We addressed scenario 2 and 3 to fix this problem.
This defect will be fixed in: 6.0.0 SR7 5.0.0 SR12 . RFC clearly says the following: 4. Convert the message representative m to an encoded message EM of length k-1 octets: EM = I2OSP (m, k-1) We now deal with all three cases listed in the problem description. . To obtain the fix: Install build 20091205 or later
Reported component name
Reported component ID
Last modified date
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fixed component name
Fixed component ID
Applicable component levels
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.