JDK-6682417 : JCK test failed w/ ProviderException when decrypted data is not multiple of blocks
Type:Bug
Component:security-libs
Sub-Component:javax.crypto:pkcs11
Affected Version:6u5p,7
Priority:P4
Status:Closed
Resolution:Fixed
OS:solaris
CPU:generic,sparc
Submitted:2008-03-31
Updated:2012-03-22
Resolved:2011-05-17
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
When decrypting, SunPKCS11 provider should check for CKR_ENCRYPTED_DATA_LEN_RANGE and throw IllegalBlockSizeException instead of ProviderException just as it did for CKR_DATA_LEN_RANGE during encryption operations.