United StatesChange Country, Oracle Worldwide Web Sites Communities I am a... I want to...
JDK-4898461 : Support for ECB and CBC/PKCS5Padding

Details
Type:
Bug
Submit Date:
2003-07-30
Status:
Closed
Updated Date:
2011-05-25
Project Name:
JDK
Resolved Date:
2011-03-07
Component:
security-libs
OS:
generic,solaris_10
Sub-Component:
javax.crypto:pkcs11
CPU:
sparc,generic
Priority:
P4
Resolution:
Fixed
Affected Versions:
solaris_10,5.0
Fixed Versions:

Related Reports
Backport:
Backport:
Duplicate:
Relates:
Relates:
Relates:
Relates:

Sub Tasks

Description
The initial version of the SunPKCS11 provider only support CBC/NoPadding for block ciphers. It should also support ECB/NoPadding, ECB/PKCS5Padding, and CBC/PKCS5Padding.

                                    

Comments
EVALUATION

Will fix.

###@###.### 2003-07-30
                                     
2003-07-30
PUBLIC COMMENTS

 
                                     
2004-09-01
SUGGESTED FIX

 
                                     
2004-09-01
WORK AROUND

 
                                     
2004-09-01
CONVERTED DATA

BugTraq+ Release Management Values

COMMIT TO FIX:
dragon


                                     
2004-09-01
EVALUATION

Release note wording suggestion:

SunPKCS11 provider now supports ECB, CBC modes with PKCS5Padding for certain block ciphers
To be more specific, it supports these following transformations for Cipher.getInstance(...) calls when the corresponding PKCS11 mechanism is supported by the underlying PKCS11 library:
DES, DESede, AES, and Blowfish with CBC mode and PKCS5Padding
DES, DESede, AES with ECB mode and PKCS5Padding
DES, DESede, AES with ECB mode and NoPadding
                                     
2011-05-23



Hardware and Software, Engineered to Work Together